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

Willem Broekema metawilm at gmail.com
Sat Oct 10 09:32:42 CEST 2009

On Sat, Oct 10, 2009 at 1:29 AM, Christian Heimes <lists at cheimes.de> wrote:
> I'm proposing two new attributes in the sys module: sys.implementation
> and sys.userdirsuffix.

This seems like a good idea.

I'm not sure this idea will easily be accepted, but I'd like to see
the sys module eventually split up in two parts, so it is very obvious
to both implementers and users which system-specific features are
portable and which are not:

a) implementation details of the C implementation (subversion, _*,
dllhandle, dont_write_bytecode, settscdump, ..) in one module,

b) portable functionality (interpreter name and version etc,
builtin_module_names, copyright, excepthook, settrace, ..) in the

- Willem (CLPython)

More information about the Python-Dev mailing list