Message143996
| Author |
vstinner |
| Recipients |
docs@python, nikratio, vstinner |
| Date |
2011年09月13日.23:41:31 |
| SpamBayes Score |
0.00032364283 |
| 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: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 |
|