29 Aprili 2003

Python question: sre

I’m told that the re recursion bug is finally finally finally getting fixed in Python 2.3. Yay! Much rejoicing!

(Would this have anything to do with this bug being enshrined for posterity in the latest edition of Mastering Regular Expressions? One wonders, one does. Maybe print books are good for something after all. Kidding!)

The friend who tipped me off to this bemoaned Zope’s being stuck at 2.1.something. So I gotta question for the hard-core Pythonistas amongst my readership: Is it possible to swap the new version of sre into an older version of Python and have it work? If so, how far back can one go?

Or is the Unicode support added in 2.2 (I think) absolutely necessary?