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 vajrasky
Recipients larry, nadeem.vawda, serhiy.storchaka, vajrasky
Date 2014-01-27.10:36:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1390819011.09.0.893036237197.issue20185@psf.upfronthosting.co.za>
In-reply-to
Content
Here is the updated patch for type module based on Zachary's comment.

However, I can not convert this method.

{"__subclasshook__", object_subclasshook, METH_CLASS | METH_VARARGS,
     object_subclasshook_doc},

static PyObject *
object_subclasshook(PyObject *cls, PyObject *args)
{
    Py_RETURN_NOTIMPLEMENTED;
}

>>> type.__subclasshook__()
NotImplemented
>>> type.__subclasshook__('cutecat')
NotImplemented
>>> type.__subclasshook__('cutecat', 1, [])
NotImplemented
History
Date User Action Args
2014-01-27 10:36:51vajraskysetrecipients: + vajrasky, larry, nadeem.vawda, serhiy.storchaka
2014-01-27 10:36:51vajraskysetmessageid: <1390819011.09.0.893036237197.issue20185@psf.upfronthosting.co.za>
2014-01-27 10:36:51vajraskylinkissue20185 messages
2014-01-27 10:36:51vajraskycreate