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 <rep...@bugs.python.org> <http://bugs.python.org/issue15812> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com