Author serhiy.storchaka
Recipients python-dev, scoder, serhiy.storchaka, vstinner
Date 2016-09-12.13:52:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1473688334.99.0.223651194506.issue27810@psf.upfronthosting.co.za>
In-reply-to
Content
Could you please wrap "#define METH_FASTCALL  0x0080" with "#ifndef Py_LIMITED_API"/"#endif"? I think this method still is not stable, and we shouldn't encourage using it in third-party extensions.

I would use two methods: just METH_FASTCALL and METH_FASTCALL|METH_KEYWORDS. The former is simpler and more stable, it takes just an array of positional parameters. The latter takes also keyword arguments, and the format of passing keyword arguments may be changed.
History
Date User Action Args
2016-09-12 13:52:15serhiy.storchakasetrecipients: + serhiy.storchaka, scoder, vstinner, python-dev
2016-09-12 13:52:14serhiy.storchakasetmessageid: <1473688334.99.0.223651194506.issue27810@psf.upfronthosting.co.za>
2016-09-12 13:52:14serhiy.storchakalinkissue27810 messages
2016-09-12 13:52:14serhiy.storchakacreate