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 josh.r, serhiy.storchaka, vstinner
Date 2017-01-03.00:48:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1483404519.6.0.42442409681.issue28839@psf.upfronthosting.co.za>
In-reply-to
Content
Quick update on the fastcall work.

> I pushed th echange b9c9691c72c5 to replace PyObject_CallFunctionObjArgs() with _PyObject_CallNoArg() or _PyObject_CallArg1(). These functions are simpler and don't allocate memory on the C stack.

Using _PyObject_CallArg1() increased the usage of the C stack: see issue #28858. The fix was to remove the _PyObject_CallArg1() macro, replaced with PyObject_CallFunctionObjArgs(func, arg, NULL).

There is still an open issue #28870 to reduce the usage of the C stack memory even more, but it's more a general optimization.
History
Date User Action Args
2017-01-03 00:48:39vstinnersetrecipients: + vstinner, serhiy.storchaka, josh.r
2017-01-03 00:48:39vstinnersetmessageid: <1483404519.6.0.42442409681.issue28839@psf.upfronthosting.co.za>
2017-01-03 00:48:39vstinnerlinkissue28839 messages
2017-01-03 00:48:39vstinnercreate