2009/10/9 Brett Cannon <br...@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 _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com