René's URL Explorer Experiment


Title: PEP 580 – The C call protocol | peps.python.org

Open Graph Title: PEP 580 – The C call protocol | peps.python.org

Description: A new “C call” protocol is proposed. It is meant for classes representing functions or methods which need to implement fast calling. The goal is to generalize all existing optimizations for built-in functions to arbitrary extension types.

Open Graph Description: A new “C call” protocol is proposed. It is meant for classes representing functions or methods which need to implement fast calling. The goal is to generalize all existing optimizations for built-in functions to arbitrary extension types.

Opengraph URL: https://peps.python.org/pep-0580/

direct link

Domain: peps.python.org

color-schemelight dark
og:typewebsite
og:site_namePython Enhancement Proposals (PEPs)
og:imagehttps://peps.python.org/_static/og-image.png
og:image:altPython PEPs
og:image:width200
og:image:height200
theme-color#3776ab

Links:

Pythonhttps://www.python.org/
PEP Indexhttps://peps.python.org/
Rejection Noticehttps://peps.python.org/580#rejection-notice
Abstracthttps://peps.python.org/580#abstract
Motivationhttps://peps.python.org/580#motivation
Overviewhttps://peps.python.org/580#overview
New data structureshttps://peps.python.org/580#new-data-structures
Parenthttps://peps.python.org/580#parent
Using tp_printhttps://peps.python.org/580#using-tp-print
The C call protocolhttps://peps.python.org/580#the-c-call-protocol
Checking __objclass__https://peps.python.org/580#checking-objclass
Self slicinghttps://peps.python.org/580#self-slicing
Descriptor behaviorhttps://peps.python.org/580#descriptor-behavior
The __name__ attributehttps://peps.python.org/580#the-name-attribute
Generic API functionshttps://peps.python.org/580#generic-api-functions
Profilinghttps://peps.python.org/580#profiling
Changes to built-in functions and methodshttps://peps.python.org/580#changes-to-built-in-functions-and-methods
C API functionshttps://peps.python.org/580#c-api-functions
Inheritancehttps://peps.python.org/580#inheritance
Performancehttps://peps.python.org/580#performance
Stable ABIhttps://peps.python.org/580#stable-abi
Backwards compatibilityhttps://peps.python.org/580#backwards-compatibility
Rationalehttps://peps.python.org/580#rationale
Why is this better than PEP 575?https://peps.python.org/580#why-is-this-better-than-pep-575
Why store the function pointer in the instance?https://peps.python.org/580#why-store-the-function-pointer-in-the-instance
Why CCALL_OBJCLASS?https://peps.python.org/580#why-ccall-objclass
Why CCALL_SELFARG?https://peps.python.org/580#why-ccall-selfarg
Why CCALL_DEFARG?https://peps.python.org/580#why-ccall-defarg
Replacing tp_printhttps://peps.python.org/580#replacing-tp-print
Alternative suggestionshttps://peps.python.org/580#alternative-suggestions
Discussionhttps://peps.python.org/580#discussion
Reference implementationhttps://peps.python.org/580#reference-implementation
Referenceshttps://peps.python.org/580#references
Copyrighthttps://peps.python.org/580#copyright
Rejection Noticehttps://peps.python.org/580#rejection-notice
PEP 590https://peps.python.org/pep-0590/
Abstracthttps://peps.python.org/580#abstract
Motivationhttps://peps.python.org/580#motivation
PEP 579https://peps.python.org/pep-0579/
Overviewhttps://peps.python.org/580#overview
see the actual codehttps://github.com/python/cpython/blob/7a2368063f25746d4008a74aca0dc0b82f86ff7b/Python/ceval.c#L4592
New data structureshttps://peps.python.org/580#new-data-structures
Parenthttps://peps.python.org/580#parent
PEP 573https://peps.python.org/pep-0573/
Using tp_printhttps://peps.python.org/580#using-tp-print
stable ABIhttps://peps.python.org/pep-0384/
The C call protocolhttps://peps.python.org/580#the-c-call-protocol
Checking __objclass__https://peps.python.org/580#checking-objclass
Self slicinghttps://peps.python.org/580#self-slicing
Descriptor behaviorhttps://peps.python.org/580#descriptor-behavior
self slicinghttps://peps.python.org/580#self-slicing
The __name__ attributehttps://peps.python.org/580#the-name-attribute
[2]https://peps.python.org/580#badcapi
Generic API functionshttps://peps.python.org/580#generic-api-functions
Profilinghttps://peps.python.org/580#profiling
Changes to built-in functions and methodshttps://peps.python.org/580#changes-to-built-in-functions-and-methods
C API functionshttps://peps.python.org/580#c-api-functions
stable ABIhttps://peps.python.org/pep-0384/
stable ABIhttps://peps.python.org/pep-0384/
Inheritancehttps://peps.python.org/580#inheritance
Performancehttps://peps.python.org/580#performance
https://mail.python.org/pipermail/python-dev/2018-July/154571.htmlhttps://mail.python.org/pipermail/python-dev/2018-July/154571.html
https://mail.python.org/pipermail/python-dev/2018-July/154740.htmlhttps://mail.python.org/pipermail/python-dev/2018-July/154740.html
https://mail.python.org/pipermail/python-dev/2018-July/154775.htmlhttps://mail.python.org/pipermail/python-dev/2018-July/154775.html
https://mail.python.org/pipermail/python-dev/2019-April/156954.htmlhttps://mail.python.org/pipermail/python-dev/2019-April/156954.html
Stable ABIhttps://peps.python.org/580#stable-abi
stable ABIhttps://peps.python.org/pep-0384/
PEP 579https://peps.python.org/pep-0579/
Backwards compatibilityhttps://peps.python.org/580#backwards-compatibility
Rationalehttps://peps.python.org/580#rationale
Why is this better than PEP 575?https://peps.python.org/580#why-is-this-better-than-pep-575
PEP 575https://peps.python.org/pep-0575/
PEP 575https://peps.python.org/pep-0575/
Why store the function pointer in the instance?https://peps.python.org/580#why-store-the-function-pointer-in-the-instance
[1]https://peps.python.org/580#bpo29259
Why CCALL_OBJCLASS?https://peps.python.org/580#why-ccall-objclass
Why CCALL_SELFARG?https://peps.python.org/580#why-ccall-selfarg
Why CCALL_DEFARG?https://peps.python.org/580#why-ccall-defarg
PEP 573https://peps.python.org/pep-0573/
PyCFunctionObjecthttps://peps.python.org/580#pycfunctionobject
Replacing tp_printhttps://peps.python.org/580#replacing-tp-print
https://mail.python.org/pipermail/python-dev/2018-June/153927.htmlhttps://mail.python.org/pipermail/python-dev/2018-June/153927.html
Alternative suggestionshttps://peps.python.org/580#alternative-suggestions
PEP 576https://peps.python.org/pep-0576/
https://mail.python.org/pipermail/python-dev/2018-July/154238.htmlhttps://mail.python.org/pipermail/python-dev/2018-July/154238.html
PEP 576https://peps.python.org/pep-0576/
PEP 580https://peps.python.org/pep-0580/
Discussionhttps://peps.python.org/580#discussion
https://mail.python.org/pipermail/python-dev/2018-June/153938.htmlhttps://mail.python.org/pipermail/python-dev/2018-June/153938.html
https://mail.python.org/pipermail/python-dev/2018-June/153984.htmlhttps://mail.python.org/pipermail/python-dev/2018-June/153984.html
https://mail.python.org/pipermail/python-dev/2018-July/154238.htmlhttps://mail.python.org/pipermail/python-dev/2018-July/154238.html
https://mail.python.org/pipermail/python-dev/2018-July/154470.htmlhttps://mail.python.org/pipermail/python-dev/2018-July/154470.html
https://mail.python.org/pipermail/python-dev/2018-July/154571.htmlhttps://mail.python.org/pipermail/python-dev/2018-July/154571.html
https://mail.python.org/pipermail/python-dev/2018-September/155166.htmlhttps://mail.python.org/pipermail/python-dev/2018-September/155166.html
https://mail.python.org/pipermail/python-dev/2018-October/155403.htmlhttps://mail.python.org/pipermail/python-dev/2018-October/155403.html
https://mail.python.org/pipermail/python-dev/2019-March/156853.htmlhttps://mail.python.org/pipermail/python-dev/2019-March/156853.html
https://mail.python.org/pipermail/python-dev/2019-March/156879.htmlhttps://mail.python.org/pipermail/python-dev/2019-March/156879.html
Reference implementationhttps://peps.python.org/580#reference-implementation
https://github.com/jdemeyer/cpython/tree/pep580https://github.com/jdemeyer/cpython/tree/pep580
PEP 580https://peps.python.org/pep-0580/
https://github.com/jdemeyer/cpython/tree/lru580https://github.com/jdemeyer/cpython/tree/lru580
Referenceshttps://peps.python.org/580#references
1https://peps.python.org/580#id2
https://bugs.python.org/issue29259https://bugs.python.org/issue29259
2https://peps.python.org/580#id1
https://pythoncapi.readthedocs.io/bad_api.html#bad-c-apihttps://pythoncapi.readthedocs.io/bad_api.html#bad-c-api
Copyrighthttps://peps.python.org/580#copyright
Rejection Noticehttps://peps.python.org/580#rejection-notice
Abstracthttps://peps.python.org/580#abstract
Motivationhttps://peps.python.org/580#motivation
Overviewhttps://peps.python.org/580#overview
New data structureshttps://peps.python.org/580#new-data-structures
Parenthttps://peps.python.org/580#parent
Using tp_printhttps://peps.python.org/580#using-tp-print
The C call protocolhttps://peps.python.org/580#the-c-call-protocol
Checking __objclass__https://peps.python.org/580#checking-objclass
Self slicinghttps://peps.python.org/580#self-slicing
Descriptor behaviorhttps://peps.python.org/580#descriptor-behavior
The __name__ attributehttps://peps.python.org/580#the-name-attribute
Generic API functionshttps://peps.python.org/580#generic-api-functions
Profilinghttps://peps.python.org/580#profiling
Changes to built-in functions and methodshttps://peps.python.org/580#changes-to-built-in-functions-and-methods
C API functionshttps://peps.python.org/580#c-api-functions
Inheritancehttps://peps.python.org/580#inheritance
Performancehttps://peps.python.org/580#performance
Stable ABIhttps://peps.python.org/580#stable-abi
Backwards compatibilityhttps://peps.python.org/580#backwards-compatibility
Rationalehttps://peps.python.org/580#rationale
Why is this better than PEP 575?https://peps.python.org/580#why-is-this-better-than-pep-575
Why store the function pointer in the instance?https://peps.python.org/580#why-store-the-function-pointer-in-the-instance
Why CCALL_OBJCLASS?https://peps.python.org/580#why-ccall-objclass
Why CCALL_SELFARG?https://peps.python.org/580#why-ccall-selfarg
Why CCALL_DEFARG?https://peps.python.org/580#why-ccall-defarg
Replacing tp_printhttps://peps.python.org/580#replacing-tp-print
Alternative suggestionshttps://peps.python.org/580#alternative-suggestions
Discussionhttps://peps.python.org/580#discussion
Reference implementationhttps://peps.python.org/580#reference-implementation
Referenceshttps://peps.python.org/580#references
Copyrighthttps://peps.python.org/580#copyright
Page Source (GitHub)https://github.com/python/peps/blob/main/peps/pep-0580.rst?plain=1
https://github.com/python/peps/blob/main/peps/pep-0580.rsthttps://github.com/python/peps/blob/main/peps/pep-0580.rst
2025-02-01 08:55:40 UTChttps://github.com/python/peps/commits/main/peps/pep-0580.rst

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.