]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39235: Fix end location for genexp in call args (GH-17925)
authorGuido van Rossum <guido@python.org>
Thu, 9 Jan 2020 19:18:47 +0000 (11:18 -0800)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 9 Jan 2020 19:18:47 +0000 (11:18 -0800)
commita796d8ef9dd1af65f7e4d7a857b56f35b7cb6e78
tree74a9998ed3d7e959faba13b04d951b7b53e37e91
parent2f65aa465865930f8364645b1466d2751c4086d3
bpo-39235: Fix end location for genexp in call args (GH-17925)

The fix changes copy_location() to require an extra node from which to extract the end location, and fixing all 5 call sites.

https://bugs.python.org/issue39235
Misc/NEWS.d/next/Core and Builtins/2020-01-09-10-01-18.bpo-39235.RYwjoc.rst [new file with mode: 0644]
Python/ast.c