[Python-ideas] Let's be more orderly!
random832 at fastmail.us
random832 at fastmail.us
Wed May 15 17:20:12 CEST 2013
On Tue, May 14, 2013, at 21:57, Don Spaulding wrote:
> I don't understand the dismissal of OrderedDict.__init__ as an invalid
> use
> case. It would be a substantial usability improvement to special-case
> OrderedDict at compile-time purely to get the ability to instantiate
> odict
> literals (not that I'm suggesting that).
Maybe we should be talking about literals. OrderedDict(a=3, b=3, c=7) is
not and never will be a literal.
More information about the Python-ideas
mailing list