Message81916
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. |
|
Date |
User |
Action |
Args |
2009-02-13 12:34:50 | ocean-city | set | recipients:
+ ocean-city, ezio.melotti |
2009-02-13 12:34:50 | ocean-city | set | messageid: <1234528490.4.0.155221254761.issue5240@psf.upfronthosting.co.za> |
2009-02-13 12:34:49 | ocean-city | link | issue5240 messages |
2009-02-13 12:34:48 | ocean-city | create | |
|