This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jaraco
Recipients jaraco, ned.deily
Date 2016-12-12.22:21:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1481581312.96.0.730458414025.issue28949@psf.upfronthosting.co.za>
In-reply-to
Content
I've just encountered what appears to be a different manifestation of the same issue. I unlinked the .tox directory and that rendered importlib broken.

$ pwd
/Users/jaraco/yg/queso
$ rm -R .tox
$ python
Python 3.6.0rc1 (v3.6.0rc1:29a273eee9a5, Dec  6 2016, 16:24:13) 
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> ^D
$ python -m tox
Could not import runpy module
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 15, in <module>
    import importlib.util
ModuleNotFoundError: No module named 'importlib.util'
$ ls /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/importlib
__init__.py		__pycache__		_bootstrap.py		_bootstrap_external.py	abc.py			machinery.py

Although I'm not certain that another process wasn't involved, I'm confident that it was the removal of the .tox directory (and interaction with Dropbox) that caused the corruption.
History
Date User Action Args
2016-12-12 22:21:53jaracosetrecipients: + jaraco, ned.deily
2016-12-12 22:21:52jaracosetmessageid: <1481581312.96.0.730458414025.issue28949@psf.upfronthosting.co.za>
2016-12-12 22:21:52jaracolinkissue28949 messages
2016-12-12 22:21:52jaracocreate