Raymond Hettinger wrote: > Here is my todo list for Py2.3. > 4) I've had a long outstanding patch to add methods like isalpha() to > string objects. The goal was to make sure that replacements exist > for all the tools in the string module. The hold-up has been in > making UniCode equivalents. If this is still wanted, I'll finish it up. Hmm, Unicode object already have these methods... I'd like to add another TODO to the list: 5) Add functions sys.setdefaultsourceencoding() and sys.getdefaultsourceencoding() which allow setting and querying the Python compiler's assumption about the default source code encoding (currently ASCII) much in the same way as sys.set/getdefaultencoding() work for the internal string encoding assumption. Just like the latter, sys.setdefaultsourceencoding() should only be usable in site.py and get deleted from the sys module in the same way after completed execution of site.py. I probably won't have time to write a patch for this, so volunteers are most welcome. If you have questions, feel free to ask. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Software directly from the Source (#1, Jun 21 2003) >>> Python/Zope Products & Consulting ... http://www.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ EuroPython 2003, Charleroi, Belgium: 3 days left
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