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