This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Wheerd
Recipients Wheerd
Date 2017-01-26.10:16:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1485425778.09.0.153066086326.issue29377@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-01-26 10:16:18Wheerdsetrecipients: + Wheerd
2017-01-26 10:16:18Wheerdsetmessageid: <1485425778.09.0.153066086326.issue29377@psf.upfronthosting.co.za>
2017-01-26 10:16:17Wheerdlinkissue29377 messages
2017-01-26 10:16:17Wheerdcreate