mktime() ???

Przemys³aw G. Gawroñski gawron at obop.com.pl
Mon Nov 29 08:00:49 EST 1999


Hello

In library reference it's writen, that mktime from time module raises an
exeption when it cann't construct a correct time from a tuple parameter.

I tryied the following:

mktime((1999, 23, 29, 0, 0, 0, 0, 0, 0 ))

(the month number is incorect),

and

mktime((1999, 23, 49, 0, 0, 0, 0, 0, 0 ))

(the month, and day aren't correct).

Well, neither one of them has raised an exeption.

Is it a bug or am'I not understanding somthing in the docs ?

Thanks for help Przemek

--
Przemyslaw G. Gawronski UIN:8358522
mailto:gawronskip at usa.net
mailto:gawron at obop.com.pl






More information about the Python-list mailing list