Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Conversation

serhiy-storchaka
Copy link
Member

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

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