[New-bugs-announce] [issue29377] Add the 'wrapper_descriptor' type to the types module

Manuel Krebber report at bugs.python.org
Thu Jan 26 05:16:18 EST 2017


New submission from Manuel Krebber:

There currently is no type in the types module for the slot wrappers/wrapper_descriptor types.

I would like to have something like

    WrapperDescriptor = type(object.__init__)

added to it (or maybe even add it to MethodType). This would be helpful to check more easily if some object is a method.

I can create a pull request for this if desired.

----------
components: Library (Lib)
messages: 286304
nosy: Wheerd
priority: normal
severity: normal
status: open
title: Add the 'wrapper_descriptor' type to the types module
type: enhancement

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29377>
_______________________________________


More information about the New-bugs-announce mailing list