[Python-Dev] timemodule.c, 2.140

Jp Calderone exarkun at divmod.com
Sat Jul 24 07:44:09 CEST 2004

   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 

   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?


More information about the Python-Dev mailing list