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

[Backport maintenance/3.2.x] Fix a false positive for redefined-outer-name #9695

Merged

Commits on Jun 4, 2024

  1. Fix a false positive for redefined-outer-name (#9678)

    When there is a name defined in an exception-handling block which shares the same name
    as a local variable that has been defined in a function body. Check if the outer node is in the
    scope of an exception assignment and do not emit ``redefined-outer-name`` if that is the case.
    
    Closes #9671
    
    (cherry picked from commit 57ae027)
    mbyrnepr2 authored and github-actions[bot] committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    00d2ee0 View commit details
    Browse the repository at this point in the history