David Roberts <d...@vidr.cc> added the comment: thread.get_ident() returns 1192 and 1560 in the cases where there is no error, and 1316 in the case where the error is thrown. Doesn't seem particularly unusual, and shows get_ident() isn't throwing the error itself.
I also noticed that there is a warning right before the exception is raised: C:\Python26\lib\threading.py:803: RuntimeWarning: tp_compare didn't return -1 or -2 for exception return _active[_get_ident()] I've attached the relevant snippets of code. As you can see OSMTileProvider (the class that is triggering the exception) doesn't actually do all that much, and the two other classes derived from DynamicTileProvider function correctly so I don't understand what it is about this specific class. ---------- Added file: http://bugs.python.org/file14564/tileproviders.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6562> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com