This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author joar
Recipients eric.smith, joar, maker, petri.lehtinen, ronaldoussoren, thezulk
Date 2013-02-24.22:36:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1361745375.15.0.200229428244.issue17267@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-02-24 22:36:15joarsetrecipients: + joar, ronaldoussoren, eric.smith, maker, petri.lehtinen, thezulk
2013-02-24 22:36:15joarsetmessageid: <1361745375.15.0.200229428244.issue17267@psf.upfronthosting.co.za>
2013-02-24 22:36:15joarlinkissue17267 messages
2013-02-24 22:36:15joarcreate