New submission from Kevin M. Turner <[EMAIL PROTECTED]>:
This is a regression from 2.5 that causes our test suite to fail in 2.6.
Looks like a cut-and-paste bug. Patch attached.
--
components: Library (Lib)
files: cgi_parse_qsl.diff
keywords: patch
messages: 72755
nosy: aca
New submission from Kevin M. Turner :
The attached example shows how inspect.findsource fails when given a stack
frame that points to a non-existent source line, and how inspect.getframeinfo
and getinnerframes do not handle that failure.
On the one hand, yes, this code was asking for it by
Kevin M. Turner added the comment:
patch attached (against python 2.7 tip)
--
keywords: +patch
Added file: http://bugs.python.org/file26077/15128-inspect-source-linenum.diff
___
Python tracker
<http://bugs.python.org/issue15
Changes by Kevin M. Turner :
--
nosy: +acapnotic
___
Python tracker
<http://bugs.python.org/issue19352>
___
___
Python-bugs-list mailing list
Unsubscribe: