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/2001-February/012771.html below:

[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Lib/plat-irix5 cddb.py,1.10,1.11

[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Lib/plat-irix5 cddb.py,1.10,1.11Guido van Rossum guido@digicool.com
Fri, 09 Feb 2001 15:27:16 -0500
> 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