STINNER Victor <victor.stin...@haypocalc.com> added the comment:

> Isn’t the root problem that pydoc uses import rather than imp or PEP 302 
> things?  We could change that.

It's possible to get the documentation of some module without loading them: 
pydoc already supports get_source() method of a module loader.

But my concern is more about C modules: you have to load them to get their 
documentation, but you can never a unload C modules (you have to exit Python).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11995>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to