Message81916
| 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: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 |
|