This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author facundobatista
Recipients effbot, facundobatista, joshhoyt, loewis, schmir
Date 2008-01-04.18:06:30
SpamBayes Score 0.000860622
Marked as misclassified No
Message-id <>
Couldn't apply cleanly the patch, as it appears to be a diff in other

Anyway, applied it by hand, and now I attach the correct svn diff.

The test cases run ok with this change, and the problem is solved.

Regarding the delay introduced, I tested it with:

  $ ./python -s "import re;r=re.compile('a?a?a?a?a?aaaaa')"

  100000 loops, best of 3: 5.4 usec per loop
  100000 loops, best of 3: 5.32 usec per loop
  100000 loops, best of 3: 5.41 usec per loop

Patch applied:
  100000 loops, best of 3: 7.28 usec per loop
  100000 loops, best of 3: 6.79 usec per loop
  100000 loops, best of 3: 7.00 usec per loop

I don't like that. Anyway, I do NOT trust for timing the system where
I'm making the timing, so you may get different results.

Date User Action Args
2008-01-04 18:06:31facundobatistasetspambayes_score: 0.000860622 -> 0.000860622
recipients: + facundobatista, loewis, effbot, joshhoyt, schmir
2008-01-04 18:06:30facundobatistasetspambayes_score: 0.000860622 -> 0.000860622
messageid: <>
2008-01-04 18:06:30facundobatistalinkissue846388 messages
2008-01-04 18:06:30facundobatistacreate