[issue19700] Update runpy for PEP 451

Nick Coghlan report at bugs.python.org
Sun Dec 15 02:16:06 CET 2013


Nick Coghlan added the comment:

Latest version simply doesn't check the loader type for the zipimport tests. (Note that just using find_spec doesn't work, since the directory and zipfile execution tests include implicit sys.path manipulation)

I also removed the separated "precompiled" flag that was in earlier patches, since importlib.util.spec_from_file_location deals with that for us.

If the full regression test suite passes, I'll be checking this version in.

----------
Added file: http://bugs.python.org/file33134/issue19700_runpy_spec_v4.diff

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


More information about the Python-bugs-list mailing list