Message143996
> 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. |
|
Date |
User |
Action |
Args |
2011-09-13 23:41:32 | vstinner | set | recipients:
+ vstinner, nikratio, docs@python |
2011-09-13 23:41:32 | vstinner | set | messageid: <1315957292.16.0.452443636016.issue12960@psf.upfronthosting.co.za> |
2011-09-13 23:41:31 | vstinner | link | issue12960 messages |
2011-09-13 23:41:31 | vstinner | create | |
|