Issue1988
Created on 2012-11-19.16:22:35 by zzzeek, last changed 2013-02-08.20:01:36 by pjenvey.
msg7524 (view) |
Author: mike bayer (zzzeek) |
Date: 2012-11-19.16:23:35 |
|
e.g.:
import threading
mutex = threading.Lock()
cond = threading.Condition(mutex)
cond.acquire(False)
Docs for condition.acquire:
http://docs.python.org/2/library/threading.html#threading.Condition.acquire
acquire(*args)
Acquire the underlying lock. This method calls the corresponding method on the underlying lock; the return value is whatever that method returns.
|
msg7525 (view) |
Author: mike bayer (zzzeek) |
Date: 2012-11-19.16:24:09 |
|
in
|
msg7526 (view) |
Author: mike bayer (zzzeek) |
Date: 2012-11-19.16:24:36 |
|
current output:
classic$ ~/jython2.7a2/jython test.py
Traceback (most recent call last):
File "test.py", line 6, in <module>
cond.acquire(False)
TypeError: acquire() takes exactly one argument (1 given)
|
msg7646 (view) |
Author: Philip Jenvey (pjenvey) |
Date: 2013-02-08.20:01:36 |
|
fixed in f9c6dc60c4eb
|
|
Date |
User |
Action |
Args |
2013-02-08 20:01:36 | pjenvey | set | status: open -> closed resolution: fixed messages:
+ msg7646 nosy:
+ pjenvey |
2012-11-19 16:25:22 | fwierzbicki | set | nosy:
+ fwierzbicki |
2012-11-19 16:24:37 | zzzeek | set | messages:
+ msg7526 |
2012-11-19 16:24:09 | zzzeek | set | messages:
+ msg7525 versions:
+ 2.7a2, - 2.7a1 |
2012-11-19 16:23:36 | zzzeek | set | messages:
+ msg7524 |
2012-11-19 16:22:35 | zzzeek | create | |
|