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   |   [EMAIL PROTECTED]   |   Brisbane, Australia
---------------------------------------------------------------
            http://www.boredomandlaziness.org
_______________________________________________
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