[issue1438] Calling base class methods is slow due to __instancecheck__ override in abc.py

2007-12-01 Thread Christian Heimes
Christian Heimes added the comment: Unbound methods are gone and so is the isinstance check in method_call(). -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> ___

[issue1438] Calling base class methods is slow due to __instancecheck__ override in abc.py

2007-11-19 Thread Christian Heimes
Christian Heimes added the comment: I think the problem should be addressed after alpha 2. -- keywords: +py3k nosy: +tiran priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ __

[issue1438] Calling base class methods is slow due to __instancecheck__ override in abc.py

2007-11-13 Thread Guido van Rossum
Changes by Guido van Rossum: -- assignee: -> gvanrossum __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http

[issue1438] Calling base class methods is slow due to __instancecheck__ override in abc.py

2007-11-13 Thread Guido van Rossum
New submission from Guido van Rossum: [Guido] > > I've noticed that abc.py's __instancecheck__ gets called a lot > > at times when I don't expect it. Can you research this a bit? [Amaury] > In classobject.c, method_call() calls PyObject_IsInstance() on the > first arg when the method is unbound