]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #24731: Fixed crash on converting objects with special methods
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 25 Nov 2015 13:55:54 +0000 (15:55 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Wed, 25 Nov 2015 13:55:54 +0000 (15:55 +0200)
commit8d30ad7c8ad5df59be8a65c8f8dab0d13be00dab
tree65436ba5d34417e9e89804d3b1c2c324edfb2f4e
parent80767a38c74318acbd6fc4bfe228a1d0c0556221
Issue #24731: Fixed crash on converting objects with special methods
__str__, __trunc__, and __float__ returning instances of subclasses of
str, long, and float to subclasses of str, long, and float correspondingly.
Lib/test/test_float.py
Lib/test/test_int.py
Lib/test/test_long.py
Lib/test/test_str.py
Lib/test/test_unicode.py
Misc/NEWS
Objects/floatobject.c
Objects/longobject.c
Objects/stringobject.c