]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43798: Add source location attributes to alias (GH-25324)
authorMatthew Suozzo <msuozzo@google.com>
Sat, 10 Apr 2021 20:56:28 +0000 (16:56 -0400)
committerGitHub <noreply@github.com>
Sat, 10 Apr 2021 20:56:28 +0000 (22:56 +0200)
commit75a06f067bd0a2687312e5f8e78f9075be76ad3a
treea0bb72532b0579b5949a00b620c83049ae803f8c
parente05a703848473b0365886dcc593cbddc46609f29
bpo-43798: Add source location attributes to alias (GH-25324)

* Add source location attributes to alias.
* Move alias star construction to pegen helper.

Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Grammar/python.gram
Include/internal/pycore_ast.h
Lib/test/test_asdl_parser.py
Lib/test/test_ast.py
Lib/test/test_peg_generator/test_c_parser.py
Misc/NEWS.d/next/Core and Builtins/2021-04-10-00-01-43.bpo-43798.p_nJFM.rst [new file with mode: 0644]
Parser/Python.asdl
Parser/parser.c
Parser/pegen.c
Parser/pegen.h
Python/Python-ast.c