Author kaniini
Recipients eric.snow, kaniini, rhettinger, serhiy.storchaka, xiang.zhang
Date 2016-06-10.19:58:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
It seems to me that calling __contains__() (PySequence_Contains()) isn't necessary, as the first and last elements of the list are already known, and therefore known to be in the list.  Revising the behaviour of popitem() to avoid calling _odict_popkey_hash() seems like it may provide a marginal performance benefit as well as fix the problem.  Calling PyObject_DelItem() directly on the node should work fine I believe.
Date User Action Args
2016-06-10 19:58:07kaniinisetrecipients: + kaniini, rhettinger, eric.snow, serhiy.storchaka, xiang.zhang
2016-06-10 19:58:07kaniinisetmessageid: <>
2016-06-10 19:58:07kaniinilinkissue27275 messages
2016-06-10 19:58:07kaniinicreate