]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-120029: make `symtable.Symbol.__repr__` correctly reflect the compiler's flags...
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>
Wed, 12 Jun 2024 11:14:50 +0000 (13:14 +0200)
committerGitHub <noreply@github.com>
Wed, 12 Jun 2024 11:14:50 +0000 (05:14 -0600)
commit755dab719dfc924dd8aef46f67512dabb8f25071
treeb79b7cba8128b9d90c5646f2c589de1fdeeb056b
parent7dd8c37a067f9fcb6a2a658d6a93b294cc2e6fb4
gh-120029: make `symtable.Symbol.__repr__` correctly reflect the compiler's flags, add methods  (#120099)

Expose :class:`symtable.Symbol` methods :meth:`~symtable.Symbol.is_free_class`,
:meth:`~symtable.Symbol.is_comp_iter` and :meth:`~symtable.Symbol.is_comp_cell`.

---------

Co-authored-by: Carl Meyer <carl@oddbird.net>
Doc/library/symtable.rst
Doc/whatsnew/3.14.rst
Include/internal/pycore_symtable.h
Lib/symtable.py
Lib/test/test_symtable.py
Misc/NEWS.d/next/Library/2024-06-05-11-03-10.gh-issue-120029.QBsw47.rst [new file with mode: 0644]
Modules/symtablemodule.c