Message22592
Logged In: YES
user_id=671362
I've found another bug.
Line 167 & 169 of Lib/_strptime.py contains the expression:
time.tzname[0].lower()
I guess this is intended to normalize alphabets, but for
multibyte characters this is really dangerous.
>>> import time
>>> time.tzname[0]
'\x93\x8c\x8b\x9e (\x95W\x8f\x80\x8e\x9e)'
>>> _.lower()
'\x93\x8c\x8b\x9e (\x95w\x8f\x80\x8e\x9e)'
\x95W and \x95w is not the same character.
|
|
Date |
User |
Action |
Args |
2007-08-23 14:26:32 | admin | link | issue1039270 messages |
2007-08-23 14:26:32 | admin | create | |
|