[issue19820] docs are missing info about module attributes

2013-11-27 Thread Eric Snow
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

[issue19706] Check if inspect needs updating for PEP 451

2013-11-27 Thread Eric Snow
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

[issue19815] ElementTree segmentation fault in expat_start_ns_handler

2013-11-27 Thread Vajrasky Kok
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

[issue19702] Update pickle to PEP 451

2013-11-27 Thread Eric Snow
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

[issue19821] pydoc.ispackage() could be more accurate

2013-11-27 Thread Eric Snow
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

<    1   2