mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
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.
This commit is contained in:
parent
97100c0e3d
commit
a8723a02ea
5 changed files with 49 additions and 17 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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue