[issue5288] tzinfo objects with sub-minute offsets are not supported (e.g. UTC+05:53:28)
Alexander Belopolsky
report at bugs.python.org
Sun Jul 4 22:30:20 CEST 2010
Alexander Belopolsky <belopolsky at 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 <report at bugs.python.org>
<http://bugs.python.org/issue5288>
_______________________________________
More information about the Python-bugs-list
mailing list