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-November/122849.html below:

[Python-Dev] [Python-checkins] cpython (3.3): - Issue #16514: Fix regression causing a traceback when sys.path[0] is None

[Python-Dev] [Python-checkins] cpython (3.3): - Issue #16514: Fix regression causing a traceback when sys.path[0] is None [Python-Dev] [Python-checkins] cpython (3.3): - Issue #16514: Fix regression causing a traceback when sys.path[0] is NoneBarry Warsaw barry at python.org
Tue Nov 20 23:35:49 CET 2012
On Nov 20, 2012, at 05:12 PM, Brett Cannon wrote:

>Should you also insert None into sys.path_importer_cache to signify there
>is no finder for the path entry? I guess the real problem with that is
>there is no guarantee the path entry is hashable, so that probably won't
>work. So nevermind. =)

I explicitly popped None from path_importer_cache, to try to force it to
ignore the cache.  Maybe it's not totally correct (and in practice probably
doesn't matter), but it WFM.

-Barry
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