[Python-Dev] [PEP 576/580] Comparing PEP 576 and 580 (original) (raw)
Jeroen Demeyer J.Demeyer at UGent.be
Tue Jul 31 08:55:26 EDT 2018
- Previous message (by thread): [Python-Dev] [PEP 576/580] Comparing PEP 576 and 580
- Next message (by thread): [Python-Dev] [PEP 576/580] Comparing PEP 576 and 580
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 2018-07-31 12:10, INADA Naoki wrote:
Surely, they should understand they must use CCALL* flags instead of METH* flags when implementing fast-callable object.
Yes indeed. But implementing a fast-callable object is quite specialized, not something that ordinary extension writers would care about. And if they don't care about performance, tp_call remains supported.
More generally: with PEP 580, everything from the documented C API remains supported. So people can write extensions exactly as before. They only need to care about PEP 580 if they want to use the new features that PEP 580 adds (or if they used undocumented internals).
Jeroen.
- Previous message (by thread): [Python-Dev] [PEP 576/580] Comparing PEP 576 and 580
- Next message (by thread): [Python-Dev] [PEP 576/580] Comparing PEP 576 and 580
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]