Message186983
Here is one way to reproduce this bug:
1. Create a module file (bug.py in this example)
def func():
pass
2. Run Python
>>> import bug
>>> help(bug)
3. Edit bug.py
def func():
pass
def newfunc():
pass
4. Use the same Python interpreter as in step 2
>>> reload(bug)
>>> help(bug)
5. Observe traceback
[..snip..]
File "C:\Python27\lib\inspect.py", line 578, in findsource
if pat.match(lines[lnum]): break
IndexError: list index out of range
Note: A related but different issue is http://bugs.python.org/issue1218234. |
|
Date |
User |
Action |
Args |
2013-04-15 12:52:20 | Kyle.Simpson | set | recipients:
+ Kyle.Simpson |
2013-04-15 12:52:20 | Kyle.Simpson | set | messageid: <1366030340.02.0.51431850328.issue17735@psf.upfronthosting.co.za> |
2013-04-15 12:52:19 | Kyle.Simpson | link | issue17735 messages |
2013-04-15 12:52:19 | Kyle.Simpson | create | |
|