Skip to content

Fix ParamSpec semanal issue (#10866) - #96

Merged
sthagen merged 1 commit into
sthagen:masterfrom
python:master
Jul 25, 2021
Merged

sthagen merged 1 commit into
sthagen:masterfrom
python:master

Conversation

@sthagen

@sthagen sthagen commented Jul 25, 2021

Copy link
Copy Markdown
Owner

Recreating equivalent ParamSpecExpr objects causes the equality check in
is_same_symbol in add_symbol_table_node to fail, causing a name already
defined error.

Co-authored-by: hauntsaninja <>

Have you read the Contributing Guidelines?

(Once you have, delete this section. If you leave it in, your PR may be closed without action.)

Description

(Explain how this PR changes mypy.)

Test Plan

(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)

Recreating equivalent ParamSpecExpr objects causes the equality check in
is_same_symbol in add_symbol_table_node to fail, causing a name already
defined error.

Co-authored-by: hauntsaninja <>
@sthagen
sthagen merged commit b0cee9e into sthagen:master Jul 25, 2021
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.

2 participants