Matthew Barnett <[email protected]> added the comment:
issue2636-20101224.zip is a new version of the regex module.
Case-insensitive matching is now faster.
The matching functions and methods now accept a keyword argument to release the
GIL during matching to enable other Python threads to run concurrently:
matches = regex.findall(pattern, string, concurrent=True)
This should be used only when it's guaranteed that the string won't change
during matching.
The GIL is always released when working on instances of the builtin (immutable)
string classes because that's known to be safe.
----------
Added file: http://bugs.python.org/file20154/issue2636-20101224.zip
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue2636>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com