A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-November/040077.html below:

[Python-Dev] other "magic strings" issues

[Python-Dev] other "magic strings" issues [Python-Dev] other "magic strings" issuesFred L. Drake, Jr. fdrake at acm.org
Fri Nov 7 12:40:31 EST 2003
On Fri, 2003-11-07 at 12:05, Guido van Rossum wrote:
 > Yes, that would be good.  Is there anything besides maketrans() in the
 > string module worth saving?  (IMO letters and digits etc. are not --
 > you can use s.isletter() etc. for that.)

Yikes!  Are you assuming those are only used for "in" tests???

Barry Warsaw writes:
 > I'm not following, are you saying we don't need string.ascii_letters and
 > friends any more?

We definately need these still.  I don't see any reason to remove
them, and they're definately still used.


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Zope Corporation

More information about the Python-Dev mailing list

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