[Python-ideas] Possible method of distinguishing between set-literals, dict-literals, and odict-literals
Ben Finney
ben+python at benfinney.id.au
Wed Jun 17 02:25:33 CEST 2009
Guido van Rossum <guido at python.org> writes:
> On Tue, Jun 16, 2009 at 11:24 AM, Terry Reedy<tjreedy at udel.edu> wrote:
> > OrderedDict({'a':1', 'b':'2', 'c':'3'}]
> >
> >
> >> How about ['a':'1', 'b':'2', 'c':'3']?
>
> -100.
(Hey! I though the valid range of votes was -1 through +1, I didn't know
we were giving the BDFL more than one vote! :-)
Can you summarise what you dislike about the above syntax suggestion for
ordered dict literal?
--
\ “If the desire to kill and the opportunity to kill came always |
`\ together, who would escape hanging?” —Mark Twain, _Following |
_o__) the Equator_ |
Ben Finney
More information about the Python-ideas
mailing list