diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2013-12-15 20:33:02 +1000 |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2013-12-15 20:33:02 +1000 |
commit | 720c7e28cb892204debd1b3820e460a9d654f178 (patch) | |
tree | ba0c12cc266baa1c1d1c274134f83d6843d605fd /Lib/test/test_devpoll.py | |
parent | 8aa36a3db97cfed3108f32fcb66c9c84e5c4b00d (diff) | |
download | cpython-git-720c7e28cb892204debd1b3820e460a9d654f178.tar.gz |
Issue #19700: set __spec__ appropriately in runpy
Note that __spec__.name is not currently guaranteed to be in
sys.modules when the code is running, only __name__ is.
The "running module is in sys.modules" invariant will be
expanded to also cover __spec__.name in a subsequent patch.
Diffstat (limited to 'Lib/test/test_devpoll.py')
0 files changed, 0 insertions, 0 deletions