Author vstinner
Recipients docs@python, nikratio, vstinner
Date 2011-09-13.23:41:31
SpamBayes Score 0.000323643
Marked as misclassified No
Message-id <1315957292.16.0.452443636016.issue12960@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2011-09-13 23:41:32vstinnersetrecipients: + vstinner, nikratio, docs@python
2011-09-13 23:41:32vstinnersetmessageid: <1315957292.16.0.452443636016.issue12960@psf.upfronthosting.co.za>
2011-09-13 23:41:31vstinnerlinkissue12960 messages
2011-09-13 23:41:31vstinnercreate