[Python-Dev] sys.implementation

Eric Snow ericsnowcurrently at gmail.com
Thu Apr 26 07:31:50 CEST 2012


The proposal of adding sys.implementation has come up a couple times
over the last few years. [1][2]  While the reaction has been
overwhelmingly positive, nothing has come of it.  I've created a
tracker issue and a patch:

    http://bugs.python.org/issue14673

The patch adds a struct sequence that holds ("name" => "CPython",
"version" => sys.version_info).  If later needs dictate more fields,
we can cross that bridge then.

Are there any objections?  Considering the positive reaction and the
scope of the addition, does this need a PEP?

-eric

[1] http://mail.python.org/pipermail/python-dev/2009-October/092893.html
[2] http://mail.python.org/pipermail/python-ideas/2012-April/014878.html


More information about the Python-Dev mailing list