Guido van Rossum writes: > In the end it would be a module containing 4 constants and one > function. I'd rather consolidate all that elsewhere. Frankly, that doesn't bother me, especially given that they've always been in the string module. But I count more than 4 constants that should be kept: ascii_letters ascii_lowercase ascii_uppercase digits hexdigits octdigits whitespace All of these could reasonably live on both str and unicode if that's not considered pollution. But if they live in a module, there's no reason not to keep string around for that purpose. (I don't object to making them class attributes; I object to creating a new module for them.) -Fred -- Fred L. Drake, Jr. <fdrake at acm.org> PythonLabs at Zope Corporation
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