[Python-Dev] making the import machinery explicit (original) (raw)

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.pathimportercache[path] is None than isinstance(sys.pathimportercache[path], imp.NullImporter)?

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

-- Terry Jan Reedy



More information about the Python-Dev mailing list