Message182902
| 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. |
|