diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2015-04-14 22:41:29 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2015-04-14 22:41:29 (GMT) |
commit | a8723a02ea109beabe2dfe1bbe18958afc5b7af9 (patch) | |
tree | bea4acb5ca96a4fd4387461f365f477eb77d5ced /Misc | |
parent | 97100c0e3d0e2bd907b41e5583b1f9cb6d9c1a36 (diff) | |
download | cpython-a8723a02ea109beabe2dfe1bbe18958afc5b7af9.zip cpython-a8723a02ea109beabe2dfe1bbe18958afc5b7af9.tar.gz cpython-a8723a02ea109beabe2dfe1bbe18958afc5b7af9.tar.bz2 |
Issue #21217: inspect.getsourcelines() now tries to compute the start and
end lines from the code object, fixing an issue when a lambda function is
used as decorator argument. Patch by Thomas Ballinger.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/ACKS | 1 | ||||
-rw-r--r-- | Misc/NEWS | 7 |
2 files changed, 7 insertions, 1 deletions
@@ -72,6 +72,7 @@ Dwayne Bailey Stig Bakken Greg Ball Luigi Ballabio +Thomas Ballinger Jeff Balogh Manuel Balsera Matt Bandy @@ -1,4 +1,4 @@ -+++++++++++ ++++++++++++ Python News +++++++++++ @@ -9,6 +9,7 @@ Release date: XXX Core and Builtins ----------------- + - Issue #22631: Added Linux-specific socket constant CAN_RAW_FD_FRAMES. Patch courtesy of Joe Jevnik. @@ -31,6 +32,10 @@ Core and Builtins Library ------- +- Issue #21217: inspect.getsourcelines() now tries to compute the start and + end lines from the code object, fixing an issue when a lambda function is + used as decorator argument. Patch by Thomas Ballinger. + - Issue #23811: Add missing newline to the PyCompileError error message. Patch by Alex Shkop. |