PyTime Object and Application Crashing

Robert Brewer fumanchu at amor.org
Thu Jan 22 01:24:49 CET 2004


Mark Hammond wrote:
> Robert Brewer wrote:
> > > 12/30/1899 the application crashes.
> > 
> > AFAICT all dates on or before that date will crash.
> 
> That is a new one for me :)  I have fixed the crash here, but calling 
> Format() (which print does under the covers) will still fail 
> for those dates - but with a ValueError.

Yes, I should have been more explicit--I always got the crash on calling
Format().

Since you have more intimate knowledge of this arena than anyone else,
do you have a better solution than my casting to and from float?


Robert Brewer
MIS
Amor Ministries
fumanchu at amor.org




More information about the Python-list mailing list