[Python-ideas] Why does BoundArguments use an OrderedDict?
Antoine Pitrou
solipsis at pitrou.net
Wed Dec 17 19:30:56 CET 2014
On Tue, 16 Dec 2014 23:18:55 -0700
Eric Snow <ericsnowcurrently at gmail.com>
wrote:
> On Tue, Dec 16, 2014 at 7:45 PM, Guido van Rossum <guido at python.org> wrote:
> > On Tue, Dec 16, 2014 at 6:27 PM, Wes Turner <wes.turner at gmail.com> wrote:
> >>
> >> It really would be helpful to have a C-implemented OrderedDict in stdlib.
> >
> >
> > +1
>
> http://bugs.python.org/issue16991
>
> Reviews welcome! :)
Other reservations:
- why aren't the linked list pointers not included in the hash entries?
that should simplify some logic quite a bit
- is it useful to keep the shared / split keys mechanism? shared keys
are mostly useful for instance dicts
- does it have to inherit from dict? that looks like a potential can of
worms
Regards
Antoine.
More information about the Python-ideas
mailing list