Issue #14285: Do not catch exceptions initializing any ancestor package
The previous fix only handled the case of the parent package of __main__ failing to initialize. Also make the "Error while finding spec" formatting slightly more appealing, and document and test that the module name must be absolute.
M
Martin Panter committed
7dda421bfff887da9a84e99c37ef1b0ef9f3cde9
Parent: a29eb08