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 meonkeys
Recipients
Date 2005-09-06.18:04:24
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=259388

Ok, sounds good.

For anyone trying to work around this, unicode date strings
should be encoded to simple Python strings (type of str)
before passing into strptime. Here's an updated version of
the aforementioned test case demonstrating an acceptable
workaround:

import locale, time
locale.setlocale(locale.LC_TIME, 'de_DE')
date = u'September'.encode()
format = '%B'
time.strptime(date, format)

--
Adam Monsen <adamm@wazamatta.com>
http://adammonsen.com/
History
Date User Action Args
2007-08-23 14:34:10adminlinkissue1280061 messages
2007-08-23 14:34:10admincreate