Message35990
Logged In: YES
user_id=12800
A couple of notes, then assignment back to Finn for
determination. First, it seems to me that Jython ought to
supply an _locale module for compatibility with CPython.
That way, test_strftime.py could simply "import locale" and
then do a locale.setlocale() without testing the platform.
Second, it seems that Java has no "C" locale, but for
CPython, the strftime tests require specifically "C" locale
and not "en_US" locale (the latter of which breaks the
tests). So, what is the right thing to do here?
I'm attaching an alternative patch which ought to work
today. Finn, please comment and I'll apply it for Python
2.1 final if it looks okay.
Since Finn's not a CPython developer, I'm assigning the
patch to MAL for a sanity check on the locale issues. MAL,
feel free to assign back to me if my changes make sense. |
|
Date |
User |
Action |
Args |
2007-08-23 15:04:08 | admin | link | issue405851 messages |
2007-08-23 15:04:08 | admin | create | |
|