summaryrefslogtreecommitdiff
path: root/Python/dynload_win.c
diff options
context:
space:
mode:
authorPaul Ganssle <pganssle@users.noreply.github.com>2019-02-04 14:42:04 -0500
committerAlexander Belopolsky <abalkin@users.noreply.github.com>2019-02-04 14:42:04 -0500
commit89427cd0feae25bbc8693abdccfa6a8c81a2689c (patch)
treec08a1bb264e74eec38f488fa60c3889fae424f2c /Python/dynload_win.c
parentca7d2933a388677cc3bbc621913b479452c0f25a (diff)
downloadcpython-git-89427cd0feae25bbc8693abdccfa6a8c81a2689c.tar.gz
bpo-32417: Make timedelta arithmetic respect subclasses (#10902)
* 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
Diffstat (limited to 'Python/dynload_win.c')
0 files changed, 0 insertions, 0 deletions