]> granicus.if.org Git - python/commit
Issue #21217: inspect.getsourcelines() now tries to compute the start and
authorAntoine Pitrou <solipsis@pitrou.net>
Tue, 14 Apr 2015 22:41:29 +0000 (00:41 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Tue, 14 Apr 2015 22:41:29 +0000 (00:41 +0200)
commita8723a02ea109beabe2dfe1bbe18958afc5b7af9
treebea4acb5ca96a4fd4387461f365f477eb77d5ced
parent97100c0e3d0e2bd907b41e5583b1f9cb6d9c1a36
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.
Lib/inspect.py
Lib/test/inspect_fodder2.py
Lib/test/test_inspect.py
Misc/ACKS
Misc/NEWS