STINNER Victor <victor.stin...@haypocalc.com> added the comment: > According to http://docs.python.org/library/threading.html#condition-objects, > threading.Condition is a class.
Nope, it's a factory, and it's written in the doc: "threading.Condition() A factory function that returns a new condition variable object. A condition variable allows one or more threads to wait until they are notified by another thread. See Condition Objects." It has been changed in Python 3.3 (#10968): threading.Condition is now a class, instead of a factory. ---------- nosy: +haypo _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12960> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com