Message99905
| Author |
pr0gg3d |
| Recipients |
Alexander.Belopolsky, aht, amaury.forgeotdarc, djc, hodgestar, pr0gg3d, zooko |
| Date |
2010年02月23日.09:23:33 |
| SpamBayes Score |
6.803946e-06 |
| Marked as misclassified |
No |
| Message-id |
<1266917016.06.0.0336925154232.issue6280@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|