Skip to content

CoW: change ChainedAssignmentError exception to a warning #51926

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

Merged
merged 3 commits into from
Mar 15, 2023

Conversation

jorisvandenbossche
Copy link
Member

@jorisvandenbossche jorisvandenbossche commented Mar 13, 2023

See #51315 for context. Currently the detection gives false positives if the changed assignment comes from cython code. Therefore, changing this to a warning to still allow more broadly testing this without causing failures.

@jorisvandenbossche jorisvandenbossche marked this pull request as ready for review March 13, 2023 14:04
Copy link
Member

@phofl phofl left a comment

Choose a reason for hiding this comment

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

I think the error is mentioned in the whatsnew as well

@jorisvandenbossche
Copy link
Member Author

Yes, good catch, updated

@mroeschke mroeschke merged commit 1fcdba2 into pandas-dev:main Mar 15, 2023
@mroeschke
Copy link
Member

Thanks @jorisvandenbossche

meeseeksmachine pushed a commit to meeseeksmachine/pandas that referenced this pull request Mar 15, 2023
@jorisvandenbossche jorisvandenbossche deleted the cow-chained-warning branch March 15, 2023 15:47
mroeschke pushed a commit that referenced this pull request Mar 15, 2023
…r exception to a warning) (#51986)

Backport PR #51926: CoW: change ChainedAssignmentError exception to a warning

Co-authored-by: Joris Van den Bossche <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants