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 Antoine d'Otreppe
Recipients Antoine d'Otreppe
Date 2008-10-10.21:11:23
SpamBayes Score 5.4784426e-08
Marked as misclassified No
Message-id <1223673085.31.0.428507703643.issue4101@psf.upfronthosting.co.za>
In-reply-to
Content
Hello

There's a type missing in the standard "types" modules (or I didn't find
it, in what case I apologize for this useless posting)

Consider this code:

---
WrapperDescriptorType = None

class Meta(type):
    def __init__(cls, *args, **kwargs):
        global WrapperDescriptorType
        type.__init__(cls, *args, **kwargs)
        WrapperDescriptorType = type(cls.__init__)

class A:
    __metaclass__ = Meta
---

I could not find WrapperDescriptorType in types module.

btw, I have to pass this descriptor to another function. But in fact I
don't need the wrapper but the real method. How to get it ?
History
Date User Action Args
2008-10-10 21:11:25Antoine d'Otreppesetrecipients: + Antoine d'Otreppe
2008-10-10 21:11:25Antoine d'Otreppesetmessageid: <1223673085.31.0.428507703643.issue4101@psf.upfronthosting.co.za>
2008-10-10 21:11:24Antoine d'Otreppelinkissue4101 messages
2008-10-10 21:11:23Antoine d'Otreppecreate