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/2009-October/092909.html below:

[Python-Dev] PEP about sys.implementation and implementation specific user site directory

[Python-Dev] PEP about sys.implementation and implementation specific user site directory [Python-Dev] PEP about sys.implementation and implementation specific user site directoryBenjamin Peterson benjamin at python.org
Sat Oct 10 04:49:02 CEST 2009
2009/10/9 Brett Cannon <brett at python.org>:
> But I honestly don't see why this doesn't belong in sys; it has to do with
> the system environment which is the interpreter. Yes, some things currently
> in sys could possibly be put elsewhere (e.g. the exception stuff could be in
> 'exceptions'), but I don't think sys is that much of an odd collection of
> code. Without having a desire to eventually clean up the sys module (which I
> am not proposing as I know that will never fly) I don't see this as being
> worth it.

That doesn't mean we have to make it more dirty. usersiteprefix is
used exclusively by site.py to load user modules; it has no function
in the interpreter core.

>> Besides, if _sys is a builtin module, importing it will not
>> add much overhead.
>
> Well, that's assuming the other interpreters makes it built-in. Otherwise
> it's only a CPython/python.org perk.

As far as I am aware, all current Python implementations can build in modules.


-- 
Regards,
Benjamin
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