[issue43798] Add position metadata to alias AST type

daniel hahler report at bugs.python.org
Mon Apr 12 16:31:54 EDT 2021


daniel hahler <python-bugs at thequod.de> added the comment:

@Pablo: the problem (referenced in the pytest issue) is that `ast.alias` has new required arguments now (see also the adjusted test in
https://github.com/python/cpython/commit/75a06f067bd0a2687312e5f8e78f9075be76ad3a#diff-3f516b60719dd445d33225e4f316b36e85c9c51a843a0147349d11a005c55937R1060-R1061).  That's expected/wanted though (assuming that it should not have "defaults" for B/C), and there's a patch for the issue at https://github.com/pytest-dev/pytest/pull/8540.

----------
nosy: +blueyed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43798>
_______________________________________


More information about the Python-bugs-list mailing list