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<ncogh...@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

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to