[Python-ideas] Possible method of distinguishing between set-literals, dict-literals, and odict-literals

Aahz aahz at pythoncraft.com
Wed Jun 17 03:12:10 CEST 2009

On Wed, Jun 17, 2009, Ben Finney wrote:
> 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! :-)

Guido can vote; he can also Pronounce.  -100 is a shorthand idiom for

(I know you were joking, but I figure there are probably people reading
this who are not familiar with the Python development process or Guido's
role in it.)
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"Many customs in this life persist because they ease friction and promote
productivity as a result of universal agreement, and whether they are
precisely the optimal choices is much less important." --Henry Spencer

More information about the Python-ideas mailing list