[issue1715] Make pydoc list submodules

2008-01-21 Thread Georg Brandl
Georg Brandl added the comment: The patch only amends TextDoc -- what about HtmlDoc? __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1715 __ ___ Python-bugs-list mailing list

[issue1715] Make pydoc list submodules

2008-01-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Actually, HtmlDoc already lists all module members in the inspected module (regardless of whether they are modules imported from outside or submodules defined inline). You can try it with the updated pydocfodder: import pydoc from test import pydocfodder

[issue1715] Make pydoc list submodules

2008-01-21 Thread Georg Brandl
Georg Brandl added the comment: Well, I believe you. :) Committed r60178. -- resolution: - accepted status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1715 __

[issue1715] Make pydoc list submodules

2008-01-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: This should be a better patch, although it only applies to the text formatter of pydoc, not the HTML one (I'm too lazy for this :-)). -- nosy: +pitrou Added file: http://bugs.python.org/file9246/pydocsubmodules.patch __

[issue1715] Make pydoc list submodules

2008-01-06 Thread Georg Brandl
Georg Brandl added the comment: This patch duplicates entries for package contents and submodules; this is not good. (E.g. for help(email): NAME email - A package for parsing, handling, and generating email messages. FILE /home/gbr/devel/python/Lib/email/__init__.py PACKAGE CONTENTS

[issue1715] Make pydoc list submodules

2008-01-01 Thread Christian Heimes
Changes by Christian Heimes: -- assignee: - georg.brandl keywords: +patch nosy: +georg.brandl priority: - normal __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1715 __

[issue1715] Make pydoc list submodules

2007-12-31 Thread Gustavo J. A. M. Carneiro
New submission from Gustavo J. A. M. Carneiro: Often python extension modules define submodules like this: static PyObject * initfoo_xpto(void) { PyObject *m; m = Py_InitModule3(foo.xpto, foo_xpto_functions, NULL); [...] return m; } PyMODINIT_FUNC initfoo(void) { PyObject