diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-05-20 05:48:12 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-20 05:48:12 (GMT) |
commit | f5e7b1999f46e592d42dfab51563ea5411946fb7 (patch) | |
tree | 3001498a55273fc45ac4d2c7b393190d4d2dbd42 /Misc/NEWS.d | |
parent | 8ae8e6af37f29163ee263e293570cb892dc5b5d5 (diff) | |
download | cpython-f5e7b1999f46e592d42dfab51563ea5411946fb7.zip cpython-f5e7b1999f46e592d42dfab51563ea5411946fb7.tar.gz cpython-f5e7b1999f46e592d42dfab51563ea5411946fb7.tar.bz2 |
bpo-23722: Raise a RuntimeError for absent __classcell__. (GH-6931)
A DeprecationWarning was emitted in Python 3.6-3.7.
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2018-05-17-13-06-36.bpo-23722.xisqZk.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-05-17-13-06-36.bpo-23722.xisqZk.rst b/Misc/NEWS.d/next/Core and Builtins/2018-05-17-13-06-36.bpo-23722.xisqZk.rst new file mode 100644 index 0000000..dfd1e79 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2018-05-17-13-06-36.bpo-23722.xisqZk.rst @@ -0,0 +1,4 @@ +A :exc:`RuntimeError` is now raised when the custom metaclass doesn't +provide the ``__classcell__`` entry in the namespace passed to +``type.__new__``. A :exc:`DeprecationWarning` was emitted in Python +3.6--3.7. |