[Python-Dev] sys.implementation

Barry Warsaw barry at python.org
Thu May 10 20:30:26 CEST 2012


On May 10, 2012, at 10:57 AM, Antoine Pitrou wrote:

>sys.implementation.metadata looks like a completely over-engineered
>concept. Please, let's just make sys.implementation a dict and stop
>bothering about ordering and iterability.

I guess the question is whether immutability is useful to preserve in
sys.implementation.  I'm on the fence, but maybe "we're all consenting adults"
and "simplest thing that will work" should rule the day.

Using a straight up dict and underscores for non-PEP-defined values is
certainly simple, and easy to implement and describe.

-Barry


More information about the Python-Dev mailing list