summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2016-12-05 06:59:22 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2016-12-05 06:59:22 (GMT)
commitd77e5b7211e8daf22f2b3e0df124393bca504c38 (patch)
tree5e012ef2dbd2cf633d998cbb4ac780302bd30c73 /Misc/NEWS
parentde4ae3d4869e88dda8bfbad24880cb398160a7a0 (diff)
parent19d246745d9d013c12e9560dd020d778381780fb (diff)
downloadcpython-d77e5b7211e8daf22f2b3e0df124393bca504c38.zip
cpython-d77e5b7211e8daf22f2b3e0df124393bca504c38.tar.gz
cpython-d77e5b7211e8daf22f2b3e0df124393bca504c38.tar.bz2
Merge #23722 from 3.6
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS13
1 files changed, 13 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index d9b7ed6..12021f6 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,11 @@ What's New in Python 3.7.0 alpha 1
Core and Builtins
-----------------
+- Issue #23722: Rather than silently producing a class that doesn't support
+ zero-argument ``super()`` in methods, failing to pass the new
+ ``__classcell__`` namespace entry up to ``type.__new__`` now results in a
+ ``DeprecationWarning`` and a class that supports zero-argument ``super()``.
+
- Issue #28797: Modifying the class __dict__ inside the __set_name__ method of
a descriptor that is used inside that class no longer prevents calling the
__set_name__ method of other descriptors.
@@ -30,6 +35,14 @@ Core and Builtins
non-encodable characters (non-ASCII for the ASCII codec, characters out
of the U+0000-U+00FF range for Latin1).
+Documentation
+-------------
+
+- Issue #23722: The data model reference and the porting section in the
+ 3.6 What's New guide now cover the additional ``__classcell__`` handling
+ needed for custom metaclasses to fully support PEP 487 and zero-argument
+ ``super()``.
+
- Issue #28731: Optimize _PyDict_NewPresized() to create correct size dict.
Improve speed of dict literal with constant keys up to 30%.