Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:
I am attaching a rough patch which removes timedelta -> int minutes -> timedelta round trips from utcoffset handling code. I think the result is an improvement, but needs more polishing. Mark, Do you think this is worth pursuing? I am not intending to add support for sub-minute offsets yet, just pass offsets around as timedeltas internally without unnecessary conversions to int and back. ---------- keywords: -easy, patch nosy: +mark.dickinson Added file: http://bugs.python.org/file17857/issue5288.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