Antoine Pitrou <pit...@free.fr> added the comment: > 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()]
Right, it probably means the exception was raised before this very code line, but wasn't properly signalled to the Python runtime. Does the error disappear if you comment out the "with self.__lock" line? ---------- _______________________________________ 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