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 <rep...@bugs.python.org>
<http://bugs.python.org/issue27366>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to