Skip to content

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

Merged
serhiy-storchaka merged 1 commit into
python:3.10from
miss-islington:backport-4ceec49-3.10
Aug 21, 2021
Merged

serhiy-storchaka merged 1 commit into
python:3.10from
miss-islington:backport-4ceec49-3.10

Conversation

@miss-islington

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

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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

4 participants