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 pitrou
Recipients belopolsky, orsenthil, pitrou
Date 2010-06-10.20:02:08
SpamBayes Score 0.0016538564
Marked as misclassified No
Message-id <1276200129.98.0.272835458624.issue8963@psf.upfronthosting.co.za>
In-reply-to
Content
Strangely, it also works here from the prompt:

>>> import time
>>> time.strptime('Thu, 10 Jun 2010 19:03:39 GMT', '%a, %d %b %Y %H:%M:%S GMT')
time.struct_time(tm_year=2010, tm_mon=6, tm_mday=10, tm_hour=19, tm_min=3, tm_sec=39, tm_wday=3, tm_yday=161, tm_isdst=-1)
>>> import locale
>>> locale.getlocale(locale.LC_TIME)
(None, None)

Apparently, something sets the locale before running the test.
History
Date User Action Args
2010-06-10 20:02:10pitrousetrecipients: + pitrou, belopolsky, orsenthil
2010-06-10 20:02:09pitrousetmessageid: <1276200129.98.0.272835458624.issue8963@psf.upfronthosting.co.za>
2010-06-10 20:02:08pitroulinkissue8963 messages
2010-06-10 20:02:08pitroucreate