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 vstinner
Recipients methane, vstinner, xiang.zhang
Date 2016-09-13.10:57:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAMpsgwZ19b46qyaiXOxUsBEv68e-Nps_N-u-9O0MEzfc+_AFYA@mail.gmail.com>
In-reply-to <1473763809.76.0.067942701055.issue28123@psf.upfronthosting.co.za>
Content
Xiang Zhang added the comment:
> How about let PyDict_GetItem call it?

PyDict_GetItem() is like the most important function in term of
performance for Python. If you want to touch it, you must benchmark
it.

I would prefer to keep it as it is.

> Just like the relationship of delitem and delitem_knownhash.

delitem is less important in term of performance, so I decided to
accept Naoki's change to merge duplicated code.
History
Date User Action Args
2016-09-13 10:57:00vstinnersetrecipients: + vstinner, methane, xiang.zhang
2016-09-13 10:57:00vstinnerlinkissue28123 messages
2016-09-13 10:57:00vstinnercreate