[issue27366] PEP487: Simpler customization of class creation
Martin Teichmann
report at bugs.python.org
Wed Jun 22 03:19:27 EDT 2016
New submission from Martin Teichmann:
This is the implementation of PEP 487.
It adds a metaclass to types that calls a method on a class
once it is subclassed. This way one can customize the creation
of classes without the need to write an own metaclass.
As a second functionality, it calls a method on each descriptor
in a class, such that descriptors know their name.
----------
components: Library (Lib)
files: pep487.patch
keywords: patch
messages: 269050
nosy: Martin.Teichmann
priority: normal
severity: normal
status: open
title: PEP487: Simpler customization of class creation
type: enhancement
versions: Python 3.6
Added file: http://bugs.python.org/file43506/pep487.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27366>
_______________________________________
More information about the Python-bugs-list
mailing list