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/2002-May/024694.html below:

[Python-Dev] String module

[Python-Dev] String moduleGuido van Rossum guido@python.org
Thu, 30 May 2002 14:35:26 -0400
> > OK.  Nothing needs to be done to vary them by locale as long as you
> > use the isxxx macros from <ctype.h>.  I think all that's needed is to
> > add the missing ones.
> 
> It's not that hard once you know what to do.
> 
> See www.python.org/sf/562501 

Thanks!  But now we have a diverging set of isxxx methods for 8-bit
strings and Unicode.  I really don't know what the equivalent of these
(ispunct, iscntrl, isgraph, isprint) is in Unicode -- maybe MAL or MvL
know?  Unicode also has a wider definition of digits; do we want to
extend isxdigit() for that?  (Probably not, but I'm not sure.)

Someone commented that isxdigit is a poor name.  OTOH it's what C
uses.  I'm not sure what to say.

--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