[Python-Dev] timemodule.c, 2.140

Jp Calderone exarkun at divmod.com
Sat Jul 24 07:58:14 CEST 2004


Jp Calderone wrote:
> 
>   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 meant to include this example:

     import time
     now = time.gmtime()
     now = now[:-3] + (0, 0, 0)
     print time.strftime("", now)

   Jp


More information about the Python-Dev mailing list