[issue19327] re doesn't work with big charsets

2013-10-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue19327] re doesn't work with big charsets

2013-10-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset d2bb0da45c93 by Serhiy Storchaka in branch '2.7': Issue #19327: Fixed the working of regular expressions with too big charset. http://hg.python.org/cpython/rev/d2bb0da45c93 New changeset 4431fa917f22 by Serhiy Storchaka in branch '3.3': Issue #19327

[issue19327] re doesn't work with big charsets

2013-10-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I have encountered this bug when writing test for for fragment of my large patch which cleanups and optimize the re module (it is too large to be committed all at once). -- ___ Python tracker

[issue19327] re doesn't work with big charsets

2013-10-21 Thread STINNER Victor
STINNER Victor added the comment: @Serhiy: Could you please take a look at issue #13100? -- ___ Python tracker ___ ___ Python-bugs-lis

[issue19327] re doesn't work with big charsets

2013-10-21 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue19327] re doesn't work with big charsets

2013-10-21 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: >>> import re >>> re.compile('[%s]' % ''.join(map(chr, range(256, 2**16, 255 Traceback (most recent call last): File "/home/serhiy/py/cpython/Lib/sre_compile.py", line 211, in _optimize_charset charmap[fixup(av)] = 1 IndexError: list assignment ind