Skip to content

[3.10] bpo-44524: Do not set _name of _SpecialForm without need (GH-27861) #27871

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 1 commit into from
Aug 21, 2021

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Aug 21, 2021

Because setting non-empty _name affects behavior of other code.

In most cases name can be derived from origin.name.
(cherry picked from commit 4ceec49)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

https://bugs.python.org/issue44524

)

Because setting non-empty _name affects behavior of other code.

In most cases __name__ can be derived from __origin__.__name__.
(cherry picked from commit 4ceec49)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@miss-islington
Copy link
Contributor Author

@serhiy-storchaka: Status check is done, and it's a success ✅ .

@serhiy-storchaka serhiy-storchaka merged commit 5bd27c3 into python:3.10 Aug 21, 2021
@miss-islington miss-islington deleted the backport-4ceec49-3.10 branch August 21, 2021 09:33
@farcat farcat mannequin mentioned this pull request Apr 14, 2022
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.

4 participants