This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: This shouldn't be there: Note that this code that uses...
Type: Stage:
Components: Documentation Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: alfborge, loewis
Priority: normal Keywords:

Created on 2007-02-13 10:29 by alfborge, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg31250 - (view) Author: Alf Lervåg (alfborge) Date: 2007-02-13 10:29
In 21.2.1 Background, details, hints, tips and caveats; we have the following paragraph:

The case conversion functions in the string module are affected by the locale settings. When a call to the setlocale() function changes the LC_CTYPE settings, the variables string.lowercase, string.uppercase and string.letters are recalculated. Note that this code that uses these variable through `from ... import ...', e.g. from string import letters, is not affected by subsequent setlocale() calls.

I can't make sense of the last sentence unless I pretend that "this" shouldn't be there, i.e.  Note that code that uses these variable(s?) through `from ... (...).

-- 
Kind regards,
Alf Lervåg
msg31251 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2007-02-13 12:09
Thanks for the report. This is now fixed in r53767 and r53768.
History
Date User Action Args
2022-04-11 14:56:22adminsetgithub: 44575
2007-02-13 10:29:05alfborgecreate