A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2012-May/119429.html below:

[Python-Dev] sys.implementation

[Python-Dev] sys.implementationTerry Reedy tjreedy at udel.edu
Thu May 10 17:31:49 CEST 2012
On 5/10/2012 10:42 AM, Georg Brandl wrote:
> On 10.05.2012 10:57, Antoine Pitrou 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 :-)
>
> .oO( Namespaception )
>
>> 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.

Thank you for cutting through the knot.

> Agreed.

Ditto. Iterability is good and should be part of all python collections. 
People who want a sorted representation should just use sorted(d.items) 
as with other sortable mappings. Nick's idea of prefixing local 
implementation keys with '_' would nicely group them together on sorted 
displays.

-- 
Terry Jan Reedy

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4