[ python-Bugs-1658794 ] This shouldn't be there: Note that this code that uses...

SourceForge.net noreply at sourceforge.net
Tue Feb 13 13:09:02 CET 2007


Bugs item #1658794, was opened at 2007-02-13 11:29
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1658794&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Alf Lervåg (alfborge)
Assigned to: Nobody/Anonymous (nobody)
Summary: This shouldn't be there: Note that this code that uses...

Initial Comment:
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

----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2007-02-13 13:09

Message:
Logged In: YES 
user_id=21627
Originator: NO

Thanks for the report. This is now fixed in r53767 and r53768.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1658794&group_id=5470


More information about the Python-bugs-list mailing list