Martin v. Loewis wrote: > Gerhard H=E4ring <gerhard.haering@gmx.de> writes: >=20 >=20 >>This might sound clueless, but wouldn't it be a good idea to change tha= t? >>So that site-packages comes before Lib/ in sys.path? >=20 >=20 > No, this is by design, to prevent people from overriding the standard > library. Essentially, all module names in the standard library are > reserved; this procedure enforces that (somewhat, you can always > insert things in the beginning of sys.path). Uhm, just for the record: all paths defined in PYTHONPATH are inserted before the std lib dirs in sys.path on startup, so the "restriction" is not really all that restrictive. --=20 Marc-Andre Lemburg CEO eGenix.com Software GmbH _______________________________________________________________________ eGenix.com -- Makers of the Python mx Extensions: mxDateTime,mxODBC,... Python Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/
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