Joar Wandborg added the comment: I am adding yet another patch. This time it has
- TZ-aware tests (datetimetester.TestTimeTZ). - C time_subtract method. - Pure time.__sub__ method. in addition to the previous - Tests for time + timedelta - C time_add - Pure time.__add__ There's one issue though, and that is that I have not quite figured out TZ-aware cross-TZ `time - timedelta` i.e. time(0, tzinfo=est) - timedelta(hours=1) * 5 == time(0, tzinfo=utc) fails. I have included a failing test for it. ---------- Added file: http://bugs.python.org/file29225/issue17267-v2.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17267> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com