Skip to content

bpo-35021: Fixes assertion failures in _datetimemodule.c#10040

Closed
serhiy-storchaka wants to merge 1 commit into
python:masterfrom
serhiy-storchaka:timedelta-int-subclass3
Closed

bpo-35021: Fixes assertion failures in _datetimemodule.c#10040
serhiy-storchaka wants to merge 1 commit into
python:masterfrom
serhiy-storchaka:timedelta-int-subclass3

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Oct 22, 2018

Copy link
Copy Markdown
Member

Fixes assertion failures in _datetimemodule.c
introduced in the previous fix (bpo-31752).

Convert microseconds to int before converting it to timedelta.

https://bugs.python.org/issue35021

Fixes assertion failures in _datetimemodule.c
introduced in the previous fix.

Convert microseconds to int before converting it to timedelta.
Comment thread Modules/_datetimemodule.c
@vstinner vstinner changed the title bpo-35021: Yet alternate solution of bpo-31752. bpo-35021: Fixes assertion failures in _datetimemodule.c Oct 24, 2018
@serhiy-storchaka

Copy link
Copy Markdown
Member Author

Closed in favor of #10039.

@serhiy-storchaka serhiy-storchaka deleted the timedelta-int-subclass3 branch November 20, 2018 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting merge skip news type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants