[issue12825] Missing and incorrect link to a command line option.
New submission from Kyle Simpson : 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/runpy.html If you run touch library/runpy.rst make html then the link is created, but with an anchor of "cmdoption-unittest-discover-m" instead of "cmdoption-m". http://docs.python.org/release/2.7.2/using/cmdline.html#cmdoption-unittest-discover-m -- assignee: docs@python components: Documentation messages: 142797 nosy: Kyle.Simpson, docs@python priority: normal severity: normal status: open title: Missing and incorrect link to a command line option. versions: Python 2.7 ___ Python tracker <http://bugs.python.org/issue12825> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12602] Missing using docs cross-references
Changes by Kyle Simpson : -- nosy: +Kyle.Simpson ___ Python tracker <http://bugs.python.org/issue12602> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17725] English mistake in Extending and Embedding Python doc page.
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 can not only define new functions but also new object types and their methods. -- assignee: docs@python components: Documentation messages: 186886 nosy: Kyle.Simpson, docs@python priority: normal severity: normal status: open title: English mistake in Extending and Embedding Python doc page. ___ Python tracker <http://bugs.python.org/issue17725> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17725] English mistake in Extending and Embedding Python doc page.
Kyle Simpson added the comment: I have provided a patch. -- keywords: +patch Added file: http://bugs.python.org/file29847/issue17725.patch ___ Python tracker <http://bugs.python.org/issue17725> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17735] inspect.findsource throws IndexError
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 >>> 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. -- components: Library (Lib) messages: 186983 nosy: Kyle.Simpson priority: normal severity: normal status: open title: inspect.findsource throws IndexError type: behavior versions: Python 2.7, Python 3.3 ___ Python tracker <http://bugs.python.org/issue17735> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17735] inspect.findsource throws IndexError
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 an IOError instead of an IndexError. This matches the docstring and prevents help() from blowing up after reloading a module. -- ___ Python tracker <http://bugs.python.org/issue17735> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12825] Missing and incorrect link to a command line option.
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 <http://bugs.python.org/issue12825> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com