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

Backport "Migration rewrites for infix arguments interpreted as named tuples" to 3.6 #21966

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

WojciechMazur
Copy link
Contributor

Backports #21949 to the 3.6.2.

PR submitted by the release tooling.

…21949)

Best effort migration rewrites based on prior work in #21565  

At this point, it's too late to deprecate named infix arguments. Let's
produce warnings instead. We accept infix arguments that might be an
argument of a named tuple, eg. `zip`, `++` or `==` - each of these takes
a single argument with NamedTuple.

---------

Co-authored-by: Som Snytt <[email protected]>
Co-authored-by: Matt Bovel <[email protected]>
[Cherry-picked 5d5a9e6]
Base automatically changed from release-3.6.2-backport-21823 to release-3.6.2 November 18, 2024 16:12
@WojciechMazur
Copy link
Contributor Author

No regressions detected in the community build up to release-3.6.2-backport-21949.

Reference

@WojciechMazur WojciechMazur merged commit 8615aa2 into release-3.6.2 Nov 18, 2024
32 checks passed
@WojciechMazur WojciechMazur deleted the release-3.6.2-backport-21949 branch November 18, 2024 16: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.

1 participant