[Python-Dev] timemodule.c, 2.140

Tim Peters tim.peters at gmail.com
Sat Jul 24 08:20:18 CEST 2004


[Jp Calderone]
>   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?

Yes, but the likelihood would zoom if you opened a bug report about
it.  This is what alpha releases are for.  IIRC, the change was to
prevent core dumps on some platforms in some cases.  The sooner you
file that bug report <wink>, the better the chance somone can
volunteer enough time to make you happy without reintroducing crashes.


More information about the Python-Dev mailing list