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 ocean-city
Recipients ezio.melotti, ocean-city
Date 2009-02-13.12:34:48
SpamBayes Score 0.0003661783
Marked as misclassified No
Message-id <1234528490.4.0.155221254761.issue5240@psf.upfronthosting.co.za>
In-reply-to
Content
By quick observation, I found this problem goes away if following change
is applied.

Index: Lib/_strptime.py
===================================================================
--- Lib/_strptime.py	(revision 69496)
+++ Lib/_strptime.py	(working copy)
@@ -262,7 +262,7 @@
 
     def compile(self, format):
         """Return a compiled re object for the format string."""
-        return re_compile(self.pattern(format), IGNORECASE | ASCII)
+        return re_compile(self.pattern(format), IGNORECASE)
 
 _cache_lock = _thread_allocate_lock()
 # DO NOT modify _TimeRE_cache or _regex_cache without acquiring the
cache lock

But this is just an observation. I don't call this *fix* because I'm not
familier with unicode, this change might cause another problem if applied.
History
Date User Action Args
2009-02-13 12:34:50ocean-citysetrecipients: + ocean-city, ezio.melotti
2009-02-13 12:34:50ocean-citysetmessageid: <1234528490.4.0.155221254761.issue5240@psf.upfronthosting.co.za>
2009-02-13 12:34:49ocean-citylinkissue5240 messages
2009-02-13 12:34:48ocean-citycreate