Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:
I am attaching a patch against sandbox version of datetime.py. With this patch, there is a single place where subminute offset is rejected, _check_utc_offset() function. I have also added "whole minute" asserts in places where sub-minute part of the offset is discarded or assumed 0. ---------- keywords: +patch Added file: http://bugs.python.org/file17844/issue5288-proto.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5288> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com