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 scoder
Recipients python-dev, scoder, serhiy.storchaka, vstinner, yselivanov, ztane
Date 2016-08-22.17:52:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1471888358.04.0.831086994248.issue27128@psf.upfronthosting.co.za>
In-reply-to
Content
> What do you mean by "I copied your (no-kwargs) implementation"?

I copied what you committed into CPython for _PyFunction_FastCall():

https://github.com/cython/cython/commit/8f3d3bd199a3d7f2a9fdfec0af57145b3ab363ca

and then enabled its usage in a couple of places:

https://github.com/cython/cython/commit/a3cfec8f7bd6d585831dd6669f6dad5f88303c71

especially for all function/method calls that we generate for user code:

https://github.com/cython/cython/commit/a51df339f395634f57b77e3ec13cecb3a28a5462

Note that PyMethod objects get unpacked into function+self right before the PyFunction_Check(), so the tuple avoidance optimisation also applies to Python method calls.
History
Date User Action Args
2016-08-22 17:52:38scodersetrecipients: + scoder, vstinner, python-dev, serhiy.storchaka, yselivanov, ztane
2016-08-22 17:52:38scodersetmessageid: <1471888358.04.0.831086994248.issue27128@psf.upfronthosting.co.za>
2016-08-22 17:52:38scoderlinkissue27128 messages
2016-08-22 17:52:37scodercreate