Issue #18647: Temporary disable the "nothing to repeat" check to make buildbots happy.

This commit is contained in:
Serhiy Storchaka 2013-08-04 13:22:30 +03:00
parent d5375dfb15
commit 06fbac5ea0
1 changed files with 2 additions and 2 deletions

View File

@ -355,8 +355,8 @@ def _optimize_unicode(charset, fixup):
def _simple(av):
# check if av is a "simple" operator
lo, hi = av[2].getwidth()
if lo == 0 and hi == MAXREPEAT:
raise error, "nothing to repeat"
#if lo == 0 and hi == MAXREPEAT:
# raise error, "nothing to repeat"
return lo == hi == 1 and av[2][0][0] != SUBPATTERN
def _compile_info(code, pattern, flags):