This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Arfrever, benjamin.peterson, georg.brandl, pkt, python-dev, serhiy.storchaka, vstinner
Date 2014-11-26.11:27:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Integer overflow errors were fixed in 4 error handlers: surrogatepass, backslashreplace, namereplace, and xmlcharrefreplace. Is is hard to write general robust tests. In worst cases they requires more than sys.maxsize or even sys.maxsize*2 memory and for sure fail with MemoryError. It is possible to write a test for xmlcharrefreplace, but it will not robust, after changes of implementation details it could raise MemoryError instead of OverflowError after consuming all address space.

So I suggest close this issue without tests. Such tests are useless.
Date User Action Args
2014-11-26 11:27:28serhiy.storchakasetrecipients: + serhiy.storchaka, georg.brandl, vstinner, benjamin.peterson, Arfrever, python-dev, pkt
2014-11-26 11:27:28serhiy.storchakasetmessageid: <>
2014-11-26 11:27:28serhiy.storchakalinkissue22518 messages
2014-11-26 11:27:28serhiy.storchakacreate