[Python-Dev] PyInstance_Check() and new-style classes (original) (raw)

Scott David Daniels Scott.Daniels at Acm.Org
Mon Jul 12 20:05:41 CEST 2004


Eric Wilhelm <ewilhelm at sbcglobal.net> wrote:

I think we can accept the simple work-around of defining an empty python subclass (e.g. 'pass') (see my reply to Phillip's post.)

It is impossible to subclass some classes -- those without Py_TPFLAGS_BASETYPE set.

-- -Scott David Daniels Scott.Daniels at Acm.Org



More information about the Python-Dev mailing list