[Python-Dev] Passing silly values to time.strftime

Jack Jansen jack@oratrix.nl
Thu, 28 Jun 2001 23:03:47 +0200

Just noted (that's Just-the-person, not me-just-noting:-) that on the
Mac time.strftime() can blow up with an access violation if you pass
silly values to it (such as 9 zeroes).

Does anyone know enough of the ANSI standard to tell me how strftime
should behave with out-of-range values? I.e. should I report this as a
bug to MetroWerks or should we rig up time.strftime() to check that
all the values are in range?
Jack Jansen             | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.oratrix.nl/~jack    | ++++ see http://www.xs4all.nl/~tank/ ++++