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/024667.html below:

[Python-Dev] Re: String module

[Python-Dev] Re: String module [Python-Dev] Re: String moduleNeal Norwitz neal@metaslash.com
Thu, 30 May 2002 09:06:40 -0400
Guido van Rossum wrote:

> strop.letters etc. are fixed when locale.setconv(LC_CTYPE, ...) is
> used.  string.letters etc. are *also* fixed, but if string hasn't been
> imported yet when the locale is set, string gets the properly
> localized versions from strop (which does the right thing upon
> initialization to reflect the locale).  This mechanism would have to
> be copied into string.py somehow.

Michael also schooled me on this.  I made a comment on Thomas Heller's
patch http://python.org/sf/561832 to indicate this info.  His patch
adds letters, digits, etc. but not maketrans().

Neal




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