Francesco Del Degan <f.delde...@ngi.it> added the comment:

I attached a patch that implements timegm according to two constraints:

1. If HAVE_TIMEGM is defined, use it

or

2. If HAVE_MKTIME and HAVE_WORKING_TZSET use a portable way, using mktime 
(taken from timegm(3) man)

Attached patches are for:

r264, r273a1, r311, trunk

What i'm missing just now are the tests (test_time.py) and docs update, if you 
like the patch, i can continue on that.

----------
Added file: http://bugs.python.org/file16334/timemodule-gmtime-r264.diff

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

Reply via email to