[Python-Dev] timemodule.c, 2.140 (original) (raw)
Jp Calderone exarkun at divmod.com
Sat Jul 24 07:44:09 CEST 2004
- Previous message: [Python-Dev] "What's New": stable sorting?
- Next message: [Python-Dev] timemodule.c, 2.140
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
time.strftime() in 2.4a0 places more restrictions on its inputs than does the version in 2.3.x. Revision 2.140 seems to be where this was introduced.
I believe it is a common use of strftime() to fill out only some fields of the time tuple. Requiring the day of year and day of week is particularly burdensome.
I have real code that will not work at all on Python 2.4 because of this. Is there any possiblity of the restriction being removed?
Jp
- Previous message: [Python-Dev] "What's New": stable sorting?
- Next message: [Python-Dev] timemodule.c, 2.140
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]