[New-bugs-announce] [issue16991] Add OrderedDict written in C
report at bugs.python.org
Fri Jan 18 05:08:30 CET 2013
New submission from Eric Snow:
Here's an initial stab at writing OrderedDict in C. Though, the implementation is not heavily optimized and isn't super subclass-friendly, my hope is that it's relatively close to the final version. I'm getting this up now to get some eyes on it.
The spot in the builtins is mostly for convenience, but I expect it will need to be exposed somewhere (perhaps _collections?).
My experience with the C-API is relatively limited and my C-fu is not at a professional level. However, I'm pretty sure that I have most everything correct.
The ultimate goal for this type is to use it for **kwargs.
Note: this first patch has some reference leaks that I'm tracking down.
components: Interpreter Core
nosy: eric.snow, rhettinger
stage: patch review
title: Add OrderedDict written in C
versions: Python 3.4
Added file: http://bugs.python.org/file28762/odict.diff
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce