[issue35486] subprocess module breaks backwards compatibility with older import hooks

2018-12-13 Thread David Wilson
David Wilson added the comment: Corrected GitHub link for the commit: https://github.com/python/cpython/commit/880d42a3b24 -- ___ Python tracker ___

[issue35486] subprocess module breaks backwards compatibility with older import hooks

2018-12-13 Thread David Wilson
New submission from David Wilson : The subprocess package since 880d42a3b24 / September 2018 has begun using this idiom: try: import _foo except ModuleNotFoundError: bar However, ModuleNotFoundError may not be thrown by older import hook implementations, since that subclass was only