Author Olivier.Grisel
Recipients Olivier.Grisel, brett.cannon, eric.snow, ncoghlan, pitrou, sbt
Date 2013-12-10.19:18:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1386703115.43.0.0554226685601.issue19946@psf.upfronthosting.co.za>
In-reply-to
Content
> So the question is exactly what module is being passed to importlib.find_spec() and why isn't it finding a spec/loader for that module.

The module is the `nosetests` python script. module_name == 'nosetests' in this case. However, nosetests is not considered an importable module because of the missing '.py' extension in the filename.

> Did this code work in Python 3.3?

This code did not exist in Python 3.3.
History
Date User Action Args
2013-12-10 19:18:35Olivier.Griselsetrecipients: + Olivier.Grisel, brett.cannon, ncoghlan, pitrou, sbt, eric.snow
2013-12-10 19:18:35Olivier.Griselsetmessageid: <1386703115.43.0.0554226685601.issue19946@psf.upfronthosting.co.za>
2013-12-10 19:18:35Olivier.Grisellinkissue19946 messages
2013-12-10 19:18:35Olivier.Griselcreate