]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-37971: fix the position of decorator application (GH-30027)
authorCarl Friedrich Bolz-Tereick <cfbolz@gmx.de>
Fri, 10 Dec 2021 23:45:02 +0000 (00:45 +0100)
committerGitHub <noreply@github.com>
Fri, 10 Dec 2021 23:45:02 +0000 (00:45 +0100)
commitb593bdc7803cc75461f6f8888ad03cb7d8dfc416
treee75a6934c855caf2652b9e1e0c9471f6174de861
parent28179aac796ed1debdce336c4b8ca18e8475d40d
bpo-37971: fix the position of decorator application (GH-30027)

The line numbers of actually calling the decorator functions of
functions and classes was wrong (as opposed to loading them, were they
have been correct previously too).

Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
Lib/test/test_trace.py
Lib/test/test_traceback.py
Misc/NEWS.d/next/Core and Builtins/2021-12-10-13-42-17.bpo-37971.6BC1Tx.rst [new file with mode: 0644]
Python/compile.c