akira added the comment: Here's a new patch with a simplified ssl.cert_time_to_seconds() implementation that brings strptime() back.
The behaviour is changed: - accept both %e and %d strftime formats for days as strptime-based implementation did before - return an integer instead of a float (input date has not fractions of a second) I've added more tests. Please, review. ---------- Added file: http://bugs.python.org/file35050/ssl_cert_time_to_seconds-462470859e57.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19940> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com