Message285623
Versions:
Darwin MacBook-Pro-de-Victor.local 16.3.0 Darwin Kernel Version 16.3.0: Thu Nov 17 20:23:58 PST 2016; root:xnu-3789.31.2~1/RELEASE_X86_64 x86_64
Python 3.6.0 (v3.6.0:41df79263a11, Dec 22 2016, 17:23:13)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
import multiprocessing as mp
condition = mp.Condition()
with condition:
condition.notify(2) #Docs show notify(n=1)
#TypeError: notify() takes 1 positional argument but 2 were given
#Replacing the call with condition.notify(2):
#TypeError: notify() got an unexpected keyword argument 'n'
# Docs show signature: def notify(self, n=1)
# But found this debugging:
# multiprocessing/synchronize.py
# line 211: class Condition(object):
# .....
# line 271: def notify(self): #<-- ¿There is no n paramater?
# ..... |
|
Date |
User |
Action |
Args |
2017-01-17 08:43:57 | Victor de la Fuente | set | recipients:
+ Victor de la Fuente |
2017-01-17 08:43:56 | Victor de la Fuente | set | messageid: <1484642636.98.0.126375980974.issue29293@psf.upfronthosting.co.za> |
2017-01-17 08:43:56 | Victor de la Fuente | link | issue29293 messages |
2017-01-17 08:43:56 | Victor de la Fuente | create | |
|