[Python-Dev] PEP 575 (Unifying function/method classes) update
Antoine Pitrou
solipsis at pitrou.net
Tue Jun 19 04:47:00 EDT 2018
More information about the Python-Dev mailing list
Tue Jun 19 04:47:00 EDT 2018
- Previous message (by thread): [Python-Dev] PEP 575 (Unifying function/method classes) update
- Next message (by thread): [Python-Dev] PEP 575 (Unifying function/method classes) update
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, 18 Jun 2018 19:49:28 +0200 Stefan Behnel <stefan_ml at behnel.de> wrote: > Victor Stinner schrieb am 18.06.2018 um 15:09: > > I tried two options to add support for FASTCALL on calling an object: > > add a flag in tp_flags and reuse tp_call, or add a new tp_fastcall > > slot. I failed to implement correctly any of these two options. > > > > There are multiple issues with tp_fastcall: > > > > * ABI issue: it's possible to load a C extension using the old ABI, > > without tp_fastcall: it's not possible to write type->tp_fastcall on > > such type. This limitation causes different issues. > > Not a problem if we rededicate the unused (since Py3.0) "tp_print" slot for it. On the topic of the so-called old ABI (which doesn't really exist), I would like to merge https://github.com/python/cpython/pull/4944 Regards Antoine.
- Previous message (by thread): [Python-Dev] PEP 575 (Unifying function/method classes) update
- Next message (by thread): [Python-Dev] PEP 575 (Unifying function/method classes) update
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list