Serhiy Storchaka added the comment:

Now RuntimeError is raised in this case.

Here is a patch, which:

1) Increases the limit of repeat numbers to 4G (now SRE_CODE at least 32-bit).
2) Raises re.error exception if this limit is exceeded.
3) Fixes some minor related things.

----------
components: +Extension Modules, Regular Expressions
keywords: +patch
nosy: +serhiy.storchaka
stage:  -> patch review
versions: +Python 3.3, Python 3.4
Added file: http://bugs.python.org/file28808/re_maxrepeat.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13169>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to