Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'master' into bpo-28974-simpler-object-__format__
  • Loading branch information
serhiy-storchaka committed May 13, 2017
commit c0b2e8a3509ef2fd49b8c5c35ea6b81996ab33cc
42 changes: 40 additions & 2 deletions Misc/NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,46 @@ What's New in Python 3.7.0 alpha 1?
Core and Builtins
-----------------

- bpo-28974: `object.__format__(x, '')` is now equivalent to `str(x)` rather
than `format(str(self), '')`.
- bpo-28974: ``object.__format__(x, '')`` is now equivalent to ``str(x)``
rather than ``format(str(self), '')``.

- bpo-30024: Circular imports involving absolute imports with binding
a submodule to a name are now supported.

- bpo-12414: sys.getsizeof() on a code object now returns the sizes
which includes the code struct and sizes of objects which it references.
Patch by Dong-hee Na.

- bpo-29839: len() now raises ValueError rather than OverflowError if
__len__() returned a large negative integer.

- bpo-11913: README.rst is now included in the list of distutils standard
READMEs and therefore included in source distributions.

- bpo-29914: Fixed default implementations of __reduce__ and __reduce_ex__().
object.__reduce__() no longer takes arguments, object.__reduce_ex__() now
requires one argument.

- bpo-29949: Fix memory usage regression of set and frozenset object.

- bpo-29935: Fixed error messages in the index() method of tuple, list and deque
when pass indices of wrong type.

- bpo-29816: Shift operation now has less opportunity to raise OverflowError.
ValueError always is raised rather than OverflowError for negative counts.
Shifting zero with non-negative count always returns zero.

- bpo-24821: Fixed the slowing down to 25 times in the searching of some
unlucky Unicode characters.

- bpo-29894: The deprecation warning is emitted if __complex__ returns an
instance of a strict subclass of complex. In a future versions of Python
this can be an error.

- bpo-29859: Show correct error messages when any of the pthread_* calls in
thread_pthread.h fails.

- bpo-29849: Fix a memory leak when an ImportError is raised during from import.

- bpo-28856: Fix an oversight that %b format for bytes should support objects
follow the buffer protocol.
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.