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 segfault with tz_localize_to_utc #55726

Merged
merged 5 commits into from
Nov 1, 2023
Merged

Conversation

WillAyd
Copy link
Member

@WillAyd WillAyd commented Oct 27, 2023

this "fixes" the segfault in #55229 but not familiar enough to know if this is correct.

@jbrockmendel

@WillAyd WillAyd requested a review from MarcoGorelli as a code owner October 27, 2023 12:49
@mroeschke mroeschke added the Timezones Timezone data dtype label Oct 27, 2023
@lithomas1 lithomas1 added this to the 2.1.3 milestone Oct 28, 2023
@mroeschke mroeschke merged commit 589d97d into pandas-dev:main Nov 1, 2023
33 of 34 checks passed
@mroeschke
Copy link
Member

Thanks @WillAyd

meeseeksmachine pushed a commit to meeseeksmachine/pandas that referenced this pull request Nov 1, 2023
@WillAyd WillAyd deleted the fix-segfault branch November 1, 2023 20:52
mroeschke pushed a commit that referenced this pull request Nov 1, 2023
…utc) (#55796)

Backport PR #55726: fix segfault with tz_localize_to_utc

Co-authored-by: William Ayd <[email protected]>
delta_idx_offset = 1
else:
delta_idx_offset = 0
# TODO: delta_idx_offset and info.deltas are needed for zoneinfo timezones,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mroeschke this comment might be relevant for the zoneinfo thing you mentioned earlier

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Timezones Timezone data dtype
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants