[Python-Dev] sys.implementation

Eric Snow ericsnowcurrently at gmail.com
Wed May 9 16:53:54 CEST 2012


On Wed, May 9, 2012 at 8:44 AM, Brett Cannon <brett at python.org> wrote:
> On Wed, May 9, 2012 at 5:57 AM, "Martin v. Löwis" <martin at v.loewis.de>
> wrote:
>>  [Update: it seems this is already reflected in the PEP. I wonder
>>   where the requirement for "a new type" comes from. I think making
>>   it a module should be conforming, even though probably discouraged
>>   for cpython, as it would make people think that they can rely on
>>   it being a module.
>
>
> That stems from people arguing over whether sys.implementation should be a
> dict or a tuple, and people going "it shouldn't be a sequence since it lacks
> a proper order", but then others saying "it shouldn't be a dict because it
> isn't meant to be mutated" (or something since I argued for the dict). So
> Eric (I suspect) went with what made sense to him.

Yep.

-eric


More information about the Python-Dev mailing list