[issue19700] Update runpy for PEP 451

Nick Coghlan report at bugs.python.org
Sun Dec 15 00:55:01 CET 2013


Nick Coghlan added the comment:

I added some unit tests for the interactions between runpy and namespace packages, which showed that I was doing the check for __main__ submodules and the check for "no loader" in the wrong order.

Last missing piece is to ensure that __spec__ is being populated appropriately, then I'll check this in.

----------
Added file: http://bugs.python.org/file33132/issue19700_runpy_spec_v2.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19700>
_______________________________________


More information about the Python-bugs-list mailing list