A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2008-June/080464.html below:

[Python-Dev] Proposal: add odict to collections

[Python-Dev] Proposal: add odict to collections [Python-Dev] Proposal: add odict to collectionsNick Coghlan ncoghlan at gmail.com
Mon Jun 16 11:29:13 CEST 2008
Armin Ronacher wrote:
> Armin Ronacher <armin.ronacher <at> active-4.com> writes:
> 
>> There are far more responses for that topic than I imagined so I would love
>> to write a PEP about that topic, incorporating the ideas/questions and
>> suggestions discussed here.
> 
> There is now a PEP for the ordered dict:
> 
>   - PEP: http://www.python.org/dev/peps/pep-0372/
>   - Thread on comp.lang.python:
>     http://thread.gmane.org/gmane.comp.python.general/577894

Another use case: in 2.6, RawConfigParser accepts a dict_type argument 
that allows an application to set the type of dictionary used 
internally. The motivation for this addition was expressly to allow 
users to provide an ordered dictionary [1].

Cheers,
Nick.

[1] http://bugs.python.org/issue1371075

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://www.boredomandlaziness.org
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