[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
- Previous message: [Python-Dev] test__locale failing on MacOS X
- Next message: [Python-Dev] decimal.py signals & traps
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] test__locale failing on MacOS X
- Next message: [Python-Dev] decimal.py signals & traps
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]