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

expose symtable.Symbol.is_nonlocal() #79164

Closed
pablogsal opened this issue Oct 14, 2018 · 2 comments
Closed

expose symtable.Symbol.is_nonlocal() #79164

pablogsal opened this issue Oct 14, 2018 · 2 comments
Labels
3.8 (EOL) end of life interpreter-core (Objects, Python, Grammar, and Parser dirs) type-feature A feature request or enhancement

Comments

@pablogsal
Copy link
Member

BPO 34983
Nosy @pablogsal
PRs
  • bpo-34983: Expose symtable.Symbol.is_nonlocal() in the symtable module #9872
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2018-10-20.01:05:21.754>
    created_at = <Date 2018-10-14.16:24:56.412>
    labels = ['interpreter-core', 'type-feature', '3.8']
    title = 'expose symtable.Symbol.is_nonlocal()'
    updated_at = <Date 2018-10-20.01:05:21.754>
    user = 'https://github.com/pablogsal'

    bugs.python.org fields:

    activity = <Date 2018-10-20.01:05:21.754>
    actor = 'pablogsal'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-10-20.01:05:21.754>
    closer = 'pablogsal'
    components = ['Interpreter Core']
    creation = <Date 2018-10-14.16:24:56.412>
    creator = 'pablogsal'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 34983
    keywords = ['patch']
    message_count = 2.0
    messages = ['327713', '328109']
    nosy_count = 1.0
    nosy_names = ['pablogsal']
    pr_nums = ['9872']
    priority = 'normal'
    resolution = None
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue34983'
    versions = ['Python 3.8']

    @pablogsal
    Copy link
    Member Author

    The symtable has information about if a particular symbol is nonlocal though the DEF_LOCAL flag but this information is not exposed in symtable.py, making impossible to ask if a symbol is declared as nonlocal using the python symtable module.

    @pablogsal pablogsal added 3.8 (EOL) end of life interpreter-core (Objects, Python, Grammar, and Parser dirs) type-feature A feature request or enhancement labels Oct 14, 2018
    @pablogsal
    Copy link
    Member Author

    New changeset d5b4f1b by Pablo Galindo in branch 'master':
    bpo-34983: Expose symtable.Symbol.is_nonlocal() in the symtable module (GH-9872)
    d5b4f1b

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.8 (EOL) end of life interpreter-core (Objects, Python, Grammar, and Parser dirs) type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant