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/2001-April/014141.html below:

[Python-Dev] distutils.sys: None in sys.modules

[Python-Dev] distutils.sys: None in sys.modules [Python-Dev] distutils.sys: None in sys.modulesGuido van Rossum guido@digicool.com
Tue, 10 Apr 2001 09:23:21 -0500
> At this point sys.modules['foo.sys'] is a real module, as it should
> be, but sys.modules['foo.os'] is None.  I don't see why 'foo.os'
> should be present at all.

See Gordon's reply (I think Marc-Andre was off base on this one):
sys.modules['foo.sys'] is set to None to prevent every "import sys" in
submodules of the foo package to hit the disk looking for foo/sys.py.

--Guido van Rossum (home page: http://www.python.org/~guido/)



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