Re: [Python-3000] Ordered mapping type for Python 3000?

2007-03-28 Thread BJörn Lindqvist
On 3/28/07, Josiah Carlson <[EMAIL PROTECTED]> wrote: > > "BJörn Lindqvist" <[EMAIL PROTECTED]> wrote: > > col = attrtuple(r = 255, g = 0, b = 128) > > r, g, b = col > > That is handled reasonably well with Raymond's recipe (or variants > thereof). Well, no. NamedTuple('Color', 'r g b')(r = 255, g

Re: [Python-3000] Ordered mapping type for Python 3000?

2007-03-28 Thread Josiah Carlson
"BJörn Lindqvist" <[EMAIL PROTECTED]> wrote: > > On 3/28/07, Josiah Carlson <[EMAIL PROTECTED]> wrote: > > > > "BJörn Lindqvist" <[EMAIL PROTECTED]> wrote: > > > el = make_el('input', type = 'text', class = 'query') > > > > XML elements are not ordering sensitive. > > Except when you write them.