[issue11763] assertEqual memory issues with large text inputs

Ezio Melotti report at bugs.python.org
Tue Apr 5 00:59:40 CEST 2011


Ezio Melotti <ezio.melotti at gmail.com> added the comment:

Attached patch adds a _diffThreshold attribute of 2**16 and uses _baseAssertEqual whenever one of the two string is longer than 2**16 chars.

----------
keywords: +patch
Added file: http://bugs.python.org/file21535/issue11763.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11763>
_______________________________________


More information about the Python-bugs-list mailing list