Message231704
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:28 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, georg.brandl, vstinner, benjamin.peterson, Arfrever, python-dev, pkt |
2014-11-26 11:27:28 | serhiy.storchaka | set | messageid: <1417001248.43.0.28274177522.issue22518@psf.upfronthosting.co.za> |
2014-11-26 11:27:28 | serhiy.storchaka | link | issue22518 messages |
2014-11-26 11:27:28 | serhiy.storchaka | create | |
|