[New-bugs-announce] [issue36922] Implement Py_TPFLAGS_METHOD_DESCRIPTOR

Jeroen Demeyer report at bugs.python.org
Wed May 15 04:39:45 EDT 2019


New submission from Jeroen Demeyer <J.Demeyer at UGent.be>:

The new flag Py_TPFLAGS_METHOD_DESCRIPTOR proposed in PEP 590 is meant for classes whose instances behave like unbound methods. In other words, it's meant for objects supporting the LOAD_METHOD optimization. There are two such classes in CPython: function and method_descriptor. But the goal is to enable more such classes.

This is independent from the rest of PEP 590 so let's implement it separately.

----------
components: Interpreter Core
messages: 342554
nosy: Mark.Shannon, jdemeyer, petr.viktorin
priority: normal
severity: normal
status: open
title: Implement Py_TPFLAGS_METHOD_DESCRIPTOR
type: enhancement
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36922>
_______________________________________


More information about the New-bugs-announce mailing list