New submission from Eric Snow:
The docs for the inspect module and the types module do not list all the
import-related module attributes. I'm guessing they've been out of sync a
while.
The docstring for for inspect.ismodule() is likewise missing information.
--
assignee: docs@python
New submission from Eric Snow:
The inspect module doesn't need any changes.
--
resolution: - works for me
stage: - committed/rejected
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19706
Vajrasky Kok added the comment:
Here is the patch (by Christian Heimes) with unit test (by me).
Apparently the namespace handlers (start-ns and end-ns) got problem with empty
namespace. But they (start-ns and end-ns) must be combined together to create
this problem. start-ns handler only will
New submission from Eric Snow:
I don't recall the specifics of how we'd talked about making use of module
specs in pickle. I vaguely remember (or misremember wink) something related
to saving __main__.__spec__.name in the pickle rather than __main__.__name__.
Anyone have anything more
New submission from Eric Snow:
pydoc.ispackage() is a best-effort guess at whether or not a path is the
location of a package. However, it uses hard-coded suffixes when matching file
names, which can miss files (e.g. extension modules and sourceless packages on
Windows). It should probably
101 - 105 of 105 matches
Mail list logo