This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.snow
Recipients eric.snow, rhettinger
Date 2013-01-18.04:08:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1358482110.59.0.347859163753.issue16991@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-01-18 04:08:31eric.snowsetrecipients: + eric.snow, rhettinger
2013-01-18 04:08:30eric.snowsetmessageid: <1358482110.59.0.347859163753.issue16991@psf.upfronthosting.co.za>
2013-01-18 04:08:30eric.snowlinkissue16991 messages
2013-01-18 04:08:29eric.snowcreate