summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-11-25 13:47:01 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-11-25 13:47:01 (GMT)
commit15095800a381a396cbc077cb5320203a8feae51a (patch)
treeba1f16c1b9be09a1f14d3af644c39e52924ee63f /Misc
parenta49de6be3669e4698ea55d22e0fdebb29be63f2e (diff)
downloadcpython-15095800a381a396cbc077cb5320203a8feae51a.zip
cpython-15095800a381a396cbc077cb5320203a8feae51a.tar.gz
cpython-15095800a381a396cbc077cb5320203a8feae51a.tar.bz2
Issue #24731: Fixed crash on converting objects with special methods
__bytes__, __trunc__, and __float__ returning instances of subclasses of bytes, int, and float to subclasses of bytes, int, and float correspondingly.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 347ce48..bae6698 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,10 @@ Release date: tba
Core and Builtins
-----------------
+- Issue #24731: Fixed crash on converting objects with special methods
+ __bytes__, __trunc__, and __float__ returning instances of subclasses of
+ bytes, int, and float to subclasses of bytes, int, and float correspondingly.
+
- Issue #25388: Fixed tokenizer crash when processing undecodable source code
with a null byte.