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
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