Author dw
Recipients brett.cannon, davin, dw, eric.snow, ncoghlan
Date 2019-01-08.19:06:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1546974381.99.0.772570352196.issue35486@roundup.psfhosted.org>
In-reply-to
Content
Hi Nick,

The purpose of ModuleNotFoundError is clear and unrelated to the problem documented here. The problem is that due to the introduction of ModuleNotFoundError, ImportError's semantics have been changed within a minor release in a breaking, backwards-incompatible manner.

As of Python 3.5, ImportError meant both "ImportError" and "ModuleNotFoundError". As of 3.6, the senses are distinct, and thus code written against ImportError as it existed in 3.5 no longer works correctly as of 3.6.
History
Date User Action Args
2019-01-08 19:06:23dwsetrecipients: + dw, brett.cannon, ncoghlan, eric.snow, davin
2019-01-08 19:06:21dwsetmessageid: <1546974381.99.0.772570352196.issue35486@roundup.psfhosted.org>
2019-01-08 19:06:21dwlinkissue35486 messages
2019-01-08 19:06:21dwcreate