Thomas Heller added the comment: I think this is a serious problem (and thanks, amaury, for finding the spot). comtypes, like ctypes, uses quite a bit of isinstance calls.
It is the reason that the comtypes unit tests run between 8% and 25% slower with trunk than with python 2.5.1. If I comment out the code that you mentioned, python trunk is slightly faster than 2.5.1. I suggest to raise the severity. ---------- nosy: +theller __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2115> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com