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

Avoid calls to ast in plugins #918

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Avoid calls to ast in plugins #918

wants to merge 1 commit into from

Commits on Jun 29, 2022

  1. Avoid calls to ast in plugins

    If one day we do wish to have the capability to swap the builtin
    Python ast for another parser, it's best to abstract any direct
    calls to the ast parser in plugins.
    
    This change addresses calls from plugins and other functions to
    isinstance with ast node types as arguments. Further work is needed
    for other ast calls in subsequent patches.
    
    Related to #894
    
    Signed-off-by: Eric Brown <[email protected]>
    ericwb committed Jun 29, 2022
    Configuration menu
    Copy the full SHA
    40e158a View commit details
    Browse the repository at this point in the history