> The only string imports left are the ones that have to be there because > the code is using a string module constant like string.whitespace or > one of the two odd functions that don't exist as methods, zfill and > maketrans. Are there any plans to introduce boolean-valued string > methods corresponding to the ctype.h functions? That would make > it possible to remove most of the remaining imports. Yes, these already exist, e.g. s.islower(), s.isspace(). Note that they are locale dependent. > This was like old times. pulling an all-nighter to clean up a language > library. I did a *lot* of work like this on Emacs back in the early > 1990s. Count your blessings; the Python libraries are in far better > shape. Thanks! --Guido van Rossum (home page: http://www.python.org/~guido/)
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