New submission from Victor de la Fuente: 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? # ..... ---------- components: Library (Lib) messages: 285623 nosy: Victor de la Fuente priority: normal severity: normal status: open title: Missing parameter "n" on multiprocessing.Condition.notify() type: compile error versions: Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29293> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com