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 zach.ware
Recipients brett.cannon, zach.ware
Date 2012-12-16.07:24:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
(Brett, I've made you nosy due to the relation to Issue16651.)

Here is a pure Python implementation of the operator module, or at least a first draft thereof :).  I'm attaching the module itself, as well as a patch to integrate it.

Any and all review is quite welcome. I'm confident in the fact that the module as it stands passes all current tests, but how it gets there is entirely up for debate (namely, the attrgetter, itemgetter, and methodcaller classes, as well as length_hint(), countOf(), and indexOf()).

Note that there's also a change to; _compare_digest() in operator.c doesn't seem to have any relation to the rest of the module (see issue15061 discussion) and is private anyway, so doesn't go near it. has to import directly from _operator.


Zach Ware
Date User Action Args
2012-12-16 07:24:42zach.waresetrecipients: + zach.ware, brett.cannon
2012-12-16 07:24:41zach.waresetmessageid: <>
2012-12-16 07:24:41zach.warelinkissue16694 messages
2012-12-16 07:24:40zach.warecreate