Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

PEP 372 - Adding an ordered dictionary to collections. Yes please!

Tagged , ,

4 comments

  1. Man, it gets harder to stick with PHP every day.

    Braden Anderson - 17th June 2008 17:44 - #

  2. I believe that the built-in array data structure in PHP can already do this.

    Ryan King - 17th June 2008 20:28 - #

  3. Oh my yes.

    Oliver Beattie - 17th June 2008 20:38 - #

  4. Well, it would be a worthwhile addition (these operator, itertools and collections modules are damn handy), although I feel writing your ordered dict implementation is like a passage rite for a pythonista :)

    Merwok - 18th June 2008 05:44 - #

Sign in with OpenID

Auto-HTML: Line breaks are preserved; URLs will be converted in to links.

Manual XHTML: Enter your own, valid XHTML. Allowed tags are a, p, blockquote, ul, ol, li, dl, dt, dd, em, strong, dfn, code, q, samp, kbd, var, cite, abbr, acronym, sub, sup, br, pre

A django site