Message205814
Indeed the example in the docs is wrong, and so is the current behaviour.
The example shows "round-tripping" using ssl.cert_time_to_seconds() and then time.ctime(), except that it is bogus as it takes a GMT time and ctime() returns a local time ("""Convert a time expressed in seconds since the epoch to a string representing local time""").
Still, we should only fix it in 3.4, as code written for prior versions may rely on the current (bogus) behaviour. |
|
| Date |
User |
Action |
Args |
| 2013-12-10 13:46:54 | pitrou | set | recipients:
+ pitrou, janssen, giampaolo.rodola, christian.heimes, docs@python, akira, gudge |
| 2013-12-10 13:46:54 | pitrou | set | messageid: <[email protected]> |
| 2013-12-10 13:46:54 | pitrou | link | issue19940 messages |
| 2013-12-10 13:46:53 | pitrou | create | |
|