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

Fix refcount bug in decoding of naive datetimes/times #409

Merged
merged 1 commit into from May 17, 2023

Conversation

jcrist
Copy link
Owner

@jcrist jcrist commented May 17, 2023

The 0.15.0 release introduced a reference counting bug when decoding naive (no timezone) datetime.datetime or datetime.time types. This PR fixes that, and adds some tests to ensure this doesn't regress again in the future.

Fixes #408.

The 0.15.0 release introduced a reference counting bug when decoding
naive (no timezone) `datetime.datetime` or `datetime.time` types. This
PR fixes that, and adds some tests to ensure this doesn't regress again
in the future.
@jcrist jcrist merged commit e67c6d9 into main May 17, 2023
7 checks passed
@jcrist jcrist deleted the fix-decode-naive-datetime-time branch May 17, 2023 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fatal Python error: none_dealloc (Struct, datetime)
1 participant