Kyle Simpson added the comment:
I can't reproduce this issue for v2.7.2 anymore, and none of the other versions
have this problem.
Is it possible to regenerate the online docs for v2.7.2 before closing this
issue?
--
___
Python tracker rep
New submission from Kyle Simpson:
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
Kyle Simpson added the comment:
Right, this issue is about the IndexError.
The current patch for issue 1218234 doesn't solve this problem. You will still
get IndexErrors, but you will get them when functions are removed rather than
when functions are added.
I think we should simply throw
New submission from Kyle Simpson:
The second sentence in http://docs.python.org/3/extending/index.html says:
Those modules can define new functions but also new
object types and their methods.
The word but doesn't make sense here. I suppose that the
author meant to write:
Those modules
Kyle Simpson added the comment:
I have provided a patch.
--
keywords: +patch
Added file: http://bugs.python.org/file29847/issue17725.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17725
New submission from Kyle Simpson illwhip...@gmail.com:
The documentation for the runpy module has a link to the -m command line
option. In version 2.7.2 of the docs, the link doesn't exist.
http://docs.python.org/release/2.7/library/runpy.html
http://docs.python.org/release/2.7.2/library
Changes by Kyle Simpson illwhip...@gmail.com:
--
nosy: +Kyle.Simpson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12602
___
___
Python-bugs-list