René's URL Explorer Experiment


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

Open Graph Title: PEP 422 – 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-0422/

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/
Abstracthttps://peps.python.org/422#abstract
PEP Withdrawalhttps://peps.python.org/422#pep-withdrawal
Backgroundhttps://peps.python.org/422#background
Proposalhttps://peps.python.org/422#proposal
Key Benefitshttps://peps.python.org/422#key-benefits
Easier use of custom namespaces for a classhttps://peps.python.org/422#easier-use-of-custom-namespaces-for-a-class
Easier inheritance of definition time behaviourhttps://peps.python.org/422#easier-inheritance-of-definition-time-behaviour
Reduced chance of metaclass conflictshttps://peps.python.org/422#reduced-chance-of-metaclass-conflicts
Integrates cleanly with PEP 3135https://peps.python.org/422#integrates-cleanly-with-pep-3135
Replaces many use cases for dynamic setting of __metaclass__https://peps.python.org/422#replaces-many-use-cases-for-dynamic-setting-of-metaclass
Design Noteshttps://peps.python.org/422#design-notes
Determining if the class being decorated is the base classhttps://peps.python.org/422#determining-if-the-class-being-decorated-is-the-base-class
Replacing a class with a different kind of objecthttps://peps.python.org/422#replacing-a-class-with-a-different-kind-of-object
Open Questionshttps://peps.python.org/422#open-questions
Is the namespace concept worth the extra complexity?https://peps.python.org/422#is-the-namespace-concept-worth-the-extra-complexity
New Ways of Using Classeshttps://peps.python.org/422#new-ways-of-using-classes
Order preserving classeshttps://peps.python.org/422#order-preserving-classes
Prepopulated namespaceshttps://peps.python.org/422#prepopulated-namespaces
Cloning a prototype classhttps://peps.python.org/422#cloning-a-prototype-class
Extending a classhttps://peps.python.org/422#extending-a-class
Rejected Design Optionshttps://peps.python.org/422#rejected-design-options
Calling __autodecorate__ from type.__init__https://peps.python.org/422#calling-autodecorate-from-type-init
Calling the automatic decoration hook __init_class__https://peps.python.org/422#calling-the-automatic-decoration-hook-init-class
Requiring an explicit decorator on __autodecorate__https://peps.python.org/422#requiring-an-explicit-decorator-on-autodecorate
Making __autodecorate__ implicitly static, like __new__https://peps.python.org/422#making-autodecorate-implicitly-static-like-new
Passing in the namespace directly rather than a factory functionhttps://peps.python.org/422#passing-in-the-namespace-directly-rather-than-a-factory-function
Reference Implementationhttps://peps.python.org/422#reference-implementation
TODOhttps://peps.python.org/422#todo
Copyrighthttps://peps.python.org/422#copyright
Abstracthttps://peps.python.org/422#abstract
PEP Withdrawalhttps://peps.python.org/422#pep-withdrawal
PEP 487https://peps.python.org/pep-0487/
Backgroundhttps://peps.python.org/422#background
PEP 3115https://peps.python.org/pep-3115/
published codehttps://mail.python.org/pipermail/python-dev/2012-June/119878.html
PEP 3135https://peps.python.org/pep-3135/
Proposalhttps://peps.python.org/422#proposal
PEP 3135https://peps.python.org/pep-3135/
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/422#key-benefits
Easier use of custom namespaces for a classhttps://peps.python.org/422#easier-use-of-custom-namespaces-for-a-class
Easier inheritance of definition time behaviourhttps://peps.python.org/422#easier-inheritance-of-definition-time-behaviour
Reduced chance of metaclass conflictshttps://peps.python.org/422#reduced-chance-of-metaclass-conflicts
Integrates cleanly with PEP 3135https://peps.python.org/422#integrates-cleanly-with-pep-3135
PEP 3135https://peps.python.org/pep-3135/
Replaces many use cases for dynamic setting of __metaclass__https://peps.python.org/422#replaces-many-use-cases-for-dynamic-setting-of-metaclass
Design Noteshttps://peps.python.org/422#design-notes
Determining if the class being decorated is the base classhttps://peps.python.org/422#determining-if-the-class-being-decorated-is-the-base-class
Replacing a class with a different kind of objecthttps://peps.python.org/422#replacing-a-class-with-a-different-kind-of-object
Open Questionshttps://peps.python.org/422#open-questions
Is the namespace concept worth the extra complexity?https://peps.python.org/422#is-the-namespace-concept-worth-the-extra-complexity
separate proposalhttps://mail.python.org/pipermail/python-dev/2013-June/127103.html
New Ways of Using Classeshttps://peps.python.org/422#new-ways-of-using-classes
Order preserving classeshttps://peps.python.org/422#order-preserving-classes
Prepopulated namespaceshttps://peps.python.org/422#prepopulated-namespaces
Cloning a prototype classhttps://peps.python.org/422#cloning-a-prototype-class
Extending a classhttps://peps.python.org/422#extending-a-class
Rejected Design Optionshttps://peps.python.org/422#rejected-design-options
Calling __autodecorate__ from type.__init__https://peps.python.org/422#calling-autodecorate-from-type-init
Calling the automatic decoration hook __init_class__https://peps.python.org/422#calling-the-automatic-decoration-hook-init-class
Requiring an explicit decorator on __autodecorate__https://peps.python.org/422#requiring-an-explicit-decorator-on-autodecorate
PEP 3115https://peps.python.org/pep-3115/
Making __autodecorate__ implicitly static, like __new__https://peps.python.org/422#making-autodecorate-implicitly-static-like-new
Passing in the namespace directly rather than a factory functionhttps://peps.python.org/422#passing-in-the-namespace-directly-rather-than-a-factory-function
Reference Implementationhttps://peps.python.org/422#reference-implementation
issue trackerhttp://bugs.python.org/issue17044
TODOhttps://peps.python.org/422#todo
https://mail.python.org/pipermail/python-dev/2013-February/123970.htmlhttps://mail.python.org/pipermail/python-dev/2013-February/123970.html
Copyrighthttps://peps.python.org/422#copyright
Abstracthttps://peps.python.org/422#abstract
PEP Withdrawalhttps://peps.python.org/422#pep-withdrawal
Backgroundhttps://peps.python.org/422#background
Proposalhttps://peps.python.org/422#proposal
Key Benefitshttps://peps.python.org/422#key-benefits
Easier use of custom namespaces for a classhttps://peps.python.org/422#easier-use-of-custom-namespaces-for-a-class
Easier inheritance of definition time behaviourhttps://peps.python.org/422#easier-inheritance-of-definition-time-behaviour
Reduced chance of metaclass conflictshttps://peps.python.org/422#reduced-chance-of-metaclass-conflicts
Integrates cleanly with PEP 3135https://peps.python.org/422#integrates-cleanly-with-pep-3135
Replaces many use cases for dynamic setting of __metaclass__https://peps.python.org/422#replaces-many-use-cases-for-dynamic-setting-of-metaclass
Design Noteshttps://peps.python.org/422#design-notes
Determining if the class being decorated is the base classhttps://peps.python.org/422#determining-if-the-class-being-decorated-is-the-base-class
Replacing a class with a different kind of objecthttps://peps.python.org/422#replacing-a-class-with-a-different-kind-of-object
Open Questionshttps://peps.python.org/422#open-questions
Is the namespace concept worth the extra complexity?https://peps.python.org/422#is-the-namespace-concept-worth-the-extra-complexity
New Ways of Using Classeshttps://peps.python.org/422#new-ways-of-using-classes
Order preserving classeshttps://peps.python.org/422#order-preserving-classes
Prepopulated namespaceshttps://peps.python.org/422#prepopulated-namespaces
Cloning a prototype classhttps://peps.python.org/422#cloning-a-prototype-class
Extending a classhttps://peps.python.org/422#extending-a-class
Rejected Design Optionshttps://peps.python.org/422#rejected-design-options
Calling __autodecorate__ from type.__init__https://peps.python.org/422#calling-autodecorate-from-type-init
Calling the automatic decoration hook __init_class__https://peps.python.org/422#calling-the-automatic-decoration-hook-init-class
Requiring an explicit decorator on __autodecorate__https://peps.python.org/422#requiring-an-explicit-decorator-on-autodecorate
Making __autodecorate__ implicitly static, like __new__https://peps.python.org/422#making-autodecorate-implicitly-static-like-new
Passing in the namespace directly rather than a factory functionhttps://peps.python.org/422#passing-in-the-namespace-directly-rather-than-a-factory-function
Reference Implementationhttps://peps.python.org/422#reference-implementation
TODOhttps://peps.python.org/422#todo
Copyrighthttps://peps.python.org/422#copyright
Page Source (GitHub)https://github.com/python/peps/blob/main/peps/pep-0422.rst?plain=1
https://github.com/python/peps/blob/main/peps/pep-0422.rsthttps://github.com/python/peps/blob/main/peps/pep-0422.rst
2025-02-01 08:59:27 UTChttps://github.com/python/peps/commits/main/peps/pep-0422.rst

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


URLs of crawlers that visited me.