[issue15812] inspect.getframeinfo() cannot show first line

Sam Breese report at bugs.python.org
Sun Sep 30 16:52:12 CEST 2012


Sam Breese added the comment:

Here's a patch. Very, very simple, just changed that one line in inspect.py and wrote a highly primitive test case for inspect.getframeinfo. The test isn't actually testing the primary functionality right now, just this one bug. I can probably write more expansive coverage later, but in the interest of an expeditious reply I'm submitting now.

----------
keywords: +patch
Added file: http://bugs.python.org/file27357/inspect_getframeinfo_line1.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15812>
_______________________________________


More information about the Python-bugs-list mailing list