Thomas Ballinger added the comment:

"The code object's co_lnotab is how inspect should be getting the sourcelines 
of the code, instead of looking for the first codeblock."

I'm looking at this now, thanks to Yhg1s for the above.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21217>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to