New implementation of re module

MRAB python at mrabarnett.plus.com
Mon Jul 27 16:00:48 EDT 2009


William Dode wrote:
> On 27-07-2009, MRAB wrote:
>> Hi all,
>>
>> I've been working on a new implementation of the re module. The details
>> are at http://bugs.python.org/issue2636, specifically from
>> http://bugs.python.org/issue2636#msg90954. I've included a .pyd file for
>> Python 2.6 on Windows if you want to try it out.
>>
> 
> Someone can remember me how to compile it (on debian lenny), if possible 
> with python2.5. I've also python3.1 that i build alone...
> 
> I could test it with pytextile, i've a bunch of texts to bench and 
> compare.
> 
All I can do is point you to 
http://docs.python.org/extending/extending.html.

For Linux (which I don't have) you'll need to use _regex.h and _regex.c
to compile to _regex.so instead of _regex.pyd.

> Did you announce it on the unladen-swallow list ? They wanted to hack on 
> RE also...
> 
No. I haven't subscribed to it.



More information about the Python-list mailing list