[Python-Dev] sys.implementation
Nick Coghlan
ncoghlan at gmail.com
Thu May 10 12:21:17 CEST 2012
On Thu, May 10, 2012 at 6:57 PM, Antoine Pitrou <solipsis at pitrou.net> wrote:
> On Thu, 10 May 2012 11:33:14 +1000
> Nick Coghlan <ncoghlan at gmail.com> wrote:
>>
>> The original concern (that sys.implementation may differ in length
>> across implementations) has been eliminated by moving all
>> implementation specific values into sys.implementation.metadata.
>
> Uh. It's scary the kind of things people sometimes come up with :-)
>
> 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.
Aye. Add a rule that all implementation specific (i.e. not defined in
the PEP) keys must be prefixed with an underscore and I'm sold.
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
More information about the Python-Dev
mailing list