[Python-Dev] PEP about sys.implementation and implementation specific user site directory (original) (raw)

"Martin v. Löwis" martin at v.loewis.de
Sat Oct 10 02:34:08 CEST 2009


Given that this is all about establishing some common ground between implementations I would propose not using a CPython specific term here such as PyStructSequence :) The Python docs seem to use structseq for sys.floatinfo.

Also, why does it have to be a sequence in the first place? Wouldn't a plain object with named attributes be good enough?

compiler (required): verbose name of the compiler, for example "GCC 4.3.3", "Java HotSpot(TM) Client VM (Apple Inc.)", "Mono JIT compiler version 2.0.1" What's the value of this attribute? The main reason I ask is there's no way that I know of to determine the JIT being used in .NET. We could of course fill in some dummy value here for IronPython but I'm also not sure why anyone would use this.

Also, why is it the name of the JIT compiler, and not the name of the source language compiler?

Regards, Martin



More information about the Python-Dev mailing list