[issue19940] ssl.cert_time_to_seconds() returns wrong results if local timezone is not UTC
akira
report at bugs.python.org
Mon Apr 28 15:35:43 CEST 2014
akira added the comment:
I've updated the patch:
- fixed the code example in the documentation to use int instead of
float result
- removed assertion on the int returned type (float won't lose precision
for the practical dates but guaranteeing an integer would be nice)
- reworded the scary comment
- removed tests that test the tests
Ready for review.
----------
Added file: http://bugs.python.org/file35075/ssl_cert_time_to_seconds-ps6.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19940>
_______________________________________
More information about the Python-bugs-list
mailing list