Yes, it should stay in collections.

On Dec 17, 2014 10:12 AM, "Antoine Pitrou" <solipsis@pitrou.net> wrote:
On Tue, 16 Dec 2014 23:18:55 -0700
Eric Snow <ericsnowcurrently@gmail.com>
wrote:
> On Tue, Dec 16, 2014 at 7:45 PM, Guido van Rossum <guido@python.org> wrote:
> > On Tue, Dec 16, 2014 at 6:27 PM, Wes Turner <wes.turner@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.

I have reservations about the overall approach. Should it really be a
builtin and expose a public C API? It sounds like putting it in the
_collections module should be sufficient.

Regards

Antoine.


_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/