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.

Author terry.reedy
Recipients belopolsky, docs@python, terry.reedy, vstinner
Date 2012-09-13.18:03:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1347559427.35.0.589419592153.issue15940@psf.upfronthosting.co.za>
In-reply-to
Content
"Module locale 
Internationalization services. The locale settings can affect the return values for some of the functions in the time module."

This is vague and perhaps misleading. The doc also says
"Locale information is not used by asctime()."
"Locale information is not used by ctime()."

Since ctime() = asctime(localtime()), this implies to me that locale is also not used by localtime. Otherwise, locale information would indirectly be used by ctime. (I did not test this directly because I do not know what a legal locale name is on Windows. The doc example 'de_DE' does not work.)

Doc also says
"time.strftime(format[, t]) 
%a Locale’s abbreviated weekday name. 
... <similar for many other format characters>
"

So perhaps the doc should say "The locale setting affects the interpretation of many format specifiers in strftime and strptime".

If is does anything else, what?
History
Date User Action Args
2012-09-13 18:03:47terry.reedysetrecipients: + terry.reedy, belopolsky, vstinner, docs@python
2012-09-13 18:03:47terry.reedysetmessageid: <1347559427.35.0.589419592153.issue15940@psf.upfronthosting.co.za>
2012-09-13 18:03:46terry.reedylinkissue15940 messages
2012-09-13 18:03:46terry.reedycreate