classification
Title: expose symtable.Symbol.is_nonlocal()
Type: enhancement Stage: resolved
Components: Interpreter Core Versions: Python 3.8
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: pablogsal
Priority: normal Keywords: patch

Created on 2018-10-14 16:24 by pablogsal, last changed 2018-10-20 01:05 by pablogsal. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 9872 merged pablogsal, 2018-10-14 16:25
Messages (2)
msg327713 - (view) Author: Pablo Galindo Salgado (pablogsal) * (Python committer) Date: 2018-10-14 16:24
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.
msg328109 - (view) Author: Pablo Galindo Salgado (pablogsal) * (Python committer) Date: 2018-10-20 00:46
New changeset d5b4f1b5a064c0d858352100fcddb91c363afa51 by Pablo Galindo in branch 'master':
bpo-34983: Expose symtable.Symbol.is_nonlocal() in the symtable module (GH-9872)
https://github.com/python/cpython/commit/d5b4f1b5a064c0d858352100fcddb91c363afa51
History
Date User Action Args
2018-10-20 01:05:21pablogsalsetstatus: open -> closed
stage: patch review -> resolved
2018-10-20 00:46:04pablogsalsetmessages: + msg328109
2018-10-14 16:25:12pablogsalsetkeywords: + patch
stage: patch review
pull_requests: + pull_request9237
2018-10-14 16:24:56pablogsalcreate