[Python-Dev] making the import machinery explicit

Terry Reedy tjreedy at udel.edu
Wed Apr 18 00:51:22 CEST 2012


On 4/17/2012 2:01 PM, Brett Cannon wrote:
> Isn't it clearer to say
> ``sys.path_importer_cache[path] is None`` than
> ``isinstance(sys.path_importer_cache[path], imp.NullImporter)``?

Yes. Great work. Thanks for helping with the Idle breakage.

-- 
Terry Jan Reedy



More information about the Python-Dev mailing list