A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2012-April/118820.html below:

[Python-Dev] making the import machinery explicit

[Python-Dev] making the import machinery explicit [Python-Dev] making the import machinery explicitPhilip Jenvey pjenvey at underboss.org
Tue Apr 17 19:45:24 CEST 2012
On Apr 14, 2012, at 1:03 PM, Brett Cannon wrote:

> And lastly, sticking None in sys.path_importer_cache would no longer mean "do the implicit thing" and instead would mean the same as NullImporter does now (which also means import can put None into sys.path_importer_cache instead of NullImporter): no finder is available for an entry on sys.path when None is found.

Isn't it more explicit to cache the NullImporter instead of None?

--
Philip Jenvey

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4