diff options
author | Benjamin Peterson <benjamin@python.org> | 2015-01-30 18:33:42 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2015-01-30 18:33:42 (GMT) |
commit | 9d4cbcc86bbef64ec00ba4987b5fc35e3a5f433d (patch) | |
tree | 790823b6da6784389d4f3062a36cc09b3bc0e31a /Misc | |
parent | 91496a08d4cb0b185fed53692cd9f36c76de9725 (diff) | |
download | cpython-9d4cbcc86bbef64ec00ba4987b5fc35e3a5f433d.zip cpython-9d4cbcc86bbef64ec00ba4987b5fc35e3a5f433d.tar.gz cpython-9d4cbcc86bbef64ec00ba4987b5fc35e3a5f433d.tar.bz2 |
allow changing __class__ between a heaptype and non-heaptype in some cases (closes #22986)
Patch by Nathaniel Smith.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -10,6 +10,9 @@ Release date: TBA Core and Builtins ----------------- +- Issue #22986: Allow changing an object's __class__ between a dynamic type and + static type in some cases. + - Issue #15859: PyUnicode_EncodeFSDefault(), PyUnicode_EncodeMBCS() and PyUnicode_EncodeCodePage() now raise an exception if the object is not an Unicode object. For PyUnicode_EncodeFSDefault(), it was already the case on |