René's URL Explorer Experiment


Title: PEP 487 – Simpler customisation of class creation | peps.python.org

Open Graph Title: PEP 487 – Simpler customisation of class creation | peps.python.org

Description: Currently, customising class creation requires the use of a custom metaclass. This custom metaclass then persists for the entire lifecycle of the class, creating the potential for spurious metaclass conflicts.

Open Graph Description: Currently, customising class creation requires the use of a custom metaclass. This custom metaclass then persists for the entire lifecycle of the class, creating the potential for spurious metaclass conflicts.

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

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/
422https://peps.python.org/pep-0422/
Python-Dev messagehttps://mail.python.org/pipermail/python-dev/2016-July/145629.html
Abstracthttps://peps.python.org/487#abstract
Backgroundhttps://peps.python.org/487#background
Proposalhttps://peps.python.org/487#proposal
Key Benefitshttps://peps.python.org/487#key-benefits
Easier inheritance of definition time behaviourhttps://peps.python.org/487#easier-inheritance-of-definition-time-behaviour
Reduced chance of metaclass conflictshttps://peps.python.org/487#reduced-chance-of-metaclass-conflicts
New Ways of Using Classeshttps://peps.python.org/487#new-ways-of-using-classes
Subclass registrationhttps://peps.python.org/487#subclass-registration
Trait descriptorshttps://peps.python.org/487#trait-descriptors
Implementation Detailshttps://peps.python.org/487#implementation-details
Reference Implementationhttps://peps.python.org/487#reference-implementation
Backward compatibility issueshttps://peps.python.org/487#backward-compatibility-issues
Rejected Design Optionshttps://peps.python.org/487#rejected-design-options
Calling the hook on the class itselfhttps://peps.python.org/487#calling-the-hook-on-the-class-itself
Other variants of calling the hookshttps://peps.python.org/487#other-variants-of-calling-the-hooks
Requiring an explicit decorator on __init_subclass__https://peps.python.org/487#requiring-an-explicit-decorator-on-init-subclass
A more __new__-like hookhttps://peps.python.org/487#a-more-new-like-hook
Adding a class attribute with the attribute orderhttps://peps.python.org/487#adding-a-class-attribute-with-the-attribute-order
Historyhttps://peps.python.org/487#history
Copyrighthttps://peps.python.org/487#copyright
Abstracthttps://peps.python.org/487#abstract
Backgroundhttps://peps.python.org/487#background
Proposalhttps://peps.python.org/487#proposal
PEP 520https://peps.python.org/pep-0520/
more than 10 years agohttps://mail.python.org/pipermail/python-dev/2001-November/018651.html
Zope’s ExtensionClasshttp://docs.zope.org/zope_secrets/extensionclass.html
Key Benefitshttps://peps.python.org/487#key-benefits
Easier inheritance of definition time behaviourhttps://peps.python.org/487#easier-inheritance-of-definition-time-behaviour
Reduced chance of metaclass conflictshttps://peps.python.org/487#reduced-chance-of-metaclass-conflicts
New Ways of Using Classeshttps://peps.python.org/487#new-ways-of-using-classes
Subclass registrationhttps://peps.python.org/487#subclass-registration
Trait descriptorshttps://peps.python.org/487#trait-descriptors
Implementation Detailshttps://peps.python.org/487#implementation-details
Reference Implementationhttps://peps.python.org/487#reference-implementation
issue 27366http://bugs.python.org/issue27366
Backward compatibility issueshttps://peps.python.org/487#backward-compatibility-issues
Rejected Design Optionshttps://peps.python.org/487#rejected-design-options
Calling the hook on the class itselfhttps://peps.python.org/487#calling-the-hook-on-the-class-itself
PEP 422https://peps.python.org/pep-0422/
Other variants of calling the hookshttps://peps.python.org/487#other-variants-of-calling-the-hooks
Requiring an explicit decorator on __init_subclass__https://peps.python.org/487#requiring-an-explicit-decorator-on-init-subclass
PEP 3115https://peps.python.org/pep-3115/
A more __new__-like hookhttps://peps.python.org/487#a-more-new-like-hook
PEP 422https://peps.python.org/pep-0422/
Adding a class attribute with the attribute orderhttps://peps.python.org/487#adding-a-class-attribute-with-the-attribute-order
PEP 520https://peps.python.org/pep-0520/
Historyhttps://peps.python.org/487#history
PEP 422https://peps.python.org/pep-0422/
PEP 422https://peps.python.org/pep-0422/
PEP 422https://peps.python.org/pep-0422/
Copyrighthttps://peps.python.org/487#copyright
Abstracthttps://peps.python.org/487#abstract
Backgroundhttps://peps.python.org/487#background
Proposalhttps://peps.python.org/487#proposal
Key Benefitshttps://peps.python.org/487#key-benefits
Easier inheritance of definition time behaviourhttps://peps.python.org/487#easier-inheritance-of-definition-time-behaviour
Reduced chance of metaclass conflictshttps://peps.python.org/487#reduced-chance-of-metaclass-conflicts
New Ways of Using Classeshttps://peps.python.org/487#new-ways-of-using-classes
Subclass registrationhttps://peps.python.org/487#subclass-registration
Trait descriptorshttps://peps.python.org/487#trait-descriptors
Implementation Detailshttps://peps.python.org/487#implementation-details
Reference Implementationhttps://peps.python.org/487#reference-implementation
Backward compatibility issueshttps://peps.python.org/487#backward-compatibility-issues
Rejected Design Optionshttps://peps.python.org/487#rejected-design-options
Calling the hook on the class itselfhttps://peps.python.org/487#calling-the-hook-on-the-class-itself
Other variants of calling the hookshttps://peps.python.org/487#other-variants-of-calling-the-hooks
Requiring an explicit decorator on __init_subclass__https://peps.python.org/487#requiring-an-explicit-decorator-on-init-subclass
A more __new__-like hookhttps://peps.python.org/487#a-more-new-like-hook
Adding a class attribute with the attribute orderhttps://peps.python.org/487#adding-a-class-attribute-with-the-attribute-order
Historyhttps://peps.python.org/487#history
Copyrighthttps://peps.python.org/487#copyright
Page Source (GitHub)https://github.com/python/peps/blob/main/peps/pep-0487.rst?plain=1
https://github.com/python/peps/blob/main/peps/pep-0487.rsthttps://github.com/python/peps/blob/main/peps/pep-0487.rst
2025-02-01 08:59:27 UTChttps://github.com/python/peps/commits/main/peps/pep-0487.rst

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


URLs of crawlers that visited me.