[Python-ideas] Why does BoundArguments use an OrderedDict?

Eric Snow ericsnowcurrently at gmail.com
Wed Dec 17 07:18:55 CET 2014


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! :)

The patch is undoubtedly stale (after a year and a half).  It
definitely could use some trimming (basically +2500 lines), but a lot
of the bulk comes from the boilerplate involved in writing iterators
(and the odict views) at the C/C-API level.

-eric


More information about the Python-ideas mailing list