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

Allow calling a function with name '_' #11810

Merged
merged 1 commit into from
Dec 21, 2021
Merged

Allow calling a function with name '_' #11810

merged 1 commit into from
Dec 21, 2021

Conversation

JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Dec 21, 2021

Fixes #11774. The issue has relevant background information in the
discussion.

It may be worth it to eventually add back some restrictions, but we'd
only focus the restrictions on singledispatch functions. This is a
quick fix to work around a regression.

Fixes #11774. The issue has relevant background information in the
discussion.

It may be worth it to eventually add back some restrictions, but we'd
only focus the restrictions on singledispatch functions. This is a
quick fix to work around a regression.
@JukkaL JukkaL merged commit f8cf2e7 into master Dec 21, 2021
@JukkaL JukkaL deleted the call-underscore branch December 21, 2021 12:40
ilevkivskyi pushed a commit that referenced this pull request Dec 21, 2021
Fixes #11774. The issue has relevant background information in the
discussion.

It may be worth it to eventually add back some restrictions, but we'd
only focus the restrictions on singledispatch functions. This is a
quick fix to work around a regression.
JukkaL added a commit that referenced this pull request Dec 22, 2021
Fixes #11774. The issue has relevant background information in the
discussion.

It may be worth it to eventually add back some restrictions, but we'd
only focus the restrictions on singledispatch functions. This is a
quick fix to work around a regression.
@JukkaL JukkaL mentioned this pull request Dec 22, 2021
tushar-deepsource pushed a commit to DeepSourceCorp/mypy that referenced this pull request Jan 20, 2022
Fixes python#11774. The issue has relevant background information in the
discussion.

It may be worth it to eventually add back some restrictions, but we'd
only focus the restrictions on singledispatch functions. This is a
quick fix to work around a regression.
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.

0.920: Calling function named "_" is not allowed
2 participants