[issue19940] ssl.cert_time_to_seconds() returns wrong results if local timezone is not UTC

Antoine Pitrou report at bugs.python.org
Thu Dec 19 20:33:29 CET 2013


Antoine Pitrou added the comment:

Answering to your questions:

> I have created the patch with git. Let me know if it is okay with you.

Yes, it's ok.
Also, please don't copy / paste it. Uploading is enough.

> Doc changes won't effect the code. The tests would not fail. 
> How would I check if the doc changes are coming up fine in the 
> final version.

The devguide has detailed documentation about how to modify and build
the documentation :)
http://docs.python.org/devguide/documenting.html#building-the-documentation

As for the tests:

1. for this issue you should probably concentrate on test_ssl: to run it
in verbose mode, "./python -m test -v test_ssl"
(please read http://docs.python.org/devguide/runtests.html)

2. you will need to add a new test to test_ssl, to check that this bug
is indeed fixed

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19940>
_______________________________________


More information about the Python-bugs-list mailing list