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 redefinition withing with statements #6871

Merged
merged 1 commit into from May 21, 2019

Conversation

@JukkaL
Copy link
Collaborator

commented May 21, 2019

This is strictly speaking unsafe, but allowing this is convenient
(and safe) in the vast majority of cases.

Fixes #6705.

Allow redefinition withing with statements
This is strictly speaking unsafe, but allowing this is convenient in
the vast majority of cases.

Fixes #6705.

@JukkaL JukkaL requested a review from ilevkivskyi May 21, 2019

@JukkaL JukkaL merged commit debb1e5 into master May 21, 2019

3 checks passed

continuous-integration/appveyor/branch AppVeyor build succeeded
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@JelleZijlstra JelleZijlstra deleted the rename-with branch May 22, 2019

PattenR added a commit to PattenR/mypy that referenced this pull request Jun 23, 2019

Allow redefinition withing with statements (python#6871)
This is strictly speaking unsafe, but allowing this is convenient in
the vast majority of cases.

Fixes python#6705.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.