Sébastien Sablé <sa...@users.sourceforge.net> added the comment:

Here is what I could find in the "man mktime":
"""
       Upon successful completion, the mktime subroutine sets the values of the 
tm_wday and tm_yday fields appropriately. Other fields are set to
       represent the specified time since January 1, 1970. However, the values 
are forced to the ranges specified in the /usr/include/time.h file.
       The final value of the tm_mday field is not set until the values of the 
tm_mon and tm_year fields are determined. Note: The mktime
       subroutine cannot convert time values before 00:00:00 UTC, January 1, 
1970 and after 03:14:07 UTC, January 19, 2038.
"""

I tried tm_yday=-1 then tm_isdst=-2 and both gave the same errors as before.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11188>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to