You can never go down the drain...

Tim Peters tim_one at email.msn.com
Mon Sep 25 16:31:41 EDT 2000


[Phlip]
> Warm up Python 1.6 or 2.0b, on Win2000 or Solaris, and shoot this at it:
>
>     import re
>     print re.sub('([a-z])([A-Z])', r'\1 \2', 'GoldMan')
>
> The resulting CPU use profile would seem to indicate (by nature of its
> continuous 100% flat line) that an infinite loop is underway.

It's a bug.  It's fixed in 2.0b2, which will be released tomorrow (Tuesday,
EDT).  You can search the SourceForge bug manager for more info (I usually
would, but I'm too busy getting the release ready!).






More information about the Python-list mailing list