PEP 291 says that sre.py needs to be backward compatible with Python 2.1. sre.py says: # this module works under 1.5.2 and later. don't use string methods import string Which is it? Raymond has seen some circular reference problems between my PEP 292 string.py patch and re.py (really, by way of sre.py and friends). Even though I haven't seen the same problems, I'd like to avoid any direct circular references by changing the few string module function calls in sre*.py to string methods. But the comment above stopped me, until I read PEP 291. The PEP should be the definitive answer, and I'm willing to string-meth-ify sre*.py, if there are no objections. out-posting-phillip-ly y'rs, -Barry -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 307 bytes Desc: This is a digitally signed message part Url : http://mail.python.org/pipermail/python-dev/attachments/20040824/b392f5ba/attachment.pgp
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4