Staging
v0.8.1
Revision 89427cd0feae25bbc8693abdccfa6a8c81a2689c authored by Paul Ganssle on 04 February 2019, 19:42:04 UTC, committed by Alexander Belopolsky on 04 February 2019, 19:42:04 UTC
* Make timedelta return subclass types

Previously timedelta would always return the `date` and `datetime`
types, regardless of what it is added to. This makes it return
an object of the type it was added to.

* Add tests for timedelta arithmetic on subclasses

* Make pure python timedelta return subclass types

* Add test for fromtimestamp with tz argument

* Add tests for subclass behavior in now

* Add news entry.

Fixes:
bpo-32417
bpo-35364

* More descriptive variable names in tests

Addresses Victor's comments
1 parent ca7d293
Raw File
__init__.py
#empty
back to top