[docs] [issue12902] help("modules") executes module code

Ezio Melotti report at bugs.python.org
Thu Sep 22 21:00:24 CEST 2011

Ezio Melotti <ezio.melotti at gmail.com> added the comment:

Since help("modules") just shows a list of modules without any description, maybe it could avoid importing them until further information about individual modules are requested.

Also while trying to do help("modules") twice on py3k, I noticed that the second time many modules are missing from the list.  Is this expected and/or a known issue?

nosy: +rhettinger

Python tracker <report at bugs.python.org>

More information about the docs mailing list