[issue11155] multiprocessing.Queue's put() signature differs from docs

2011-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset c6d4d4d64405 by Senthil Kumaran in branch '3.2': Fix closes Issue11155 - Correct the multiprocessing.Queue.put's arg (replace 'item' with 'obj') in the docs. Patch by Westley Martínez. http://hg.python.org/cpython/rev/c6d4d4d64405 New changeset 8

[issue11155] multiprocessing.Queue's put() signature differs from docs

2011-09-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: Well, I should take back my previous comment. I realized that the positional arg in this case can be called as keyword arg. It would be wrong to change multiprocessing.py and it is correct to change the docs. -- _

[issue11155] multiprocessing.Queue's put() signature differs from docs

2011-09-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: anikom15's first patch seems correct. In the multiprocessing.py, the the arg 'obj' can be safely replaced with 'item' to be consistent with the docs. As this is not a keyword arg, it does not stand any chance of breaking any backwards compatibility. It looks

[issue11155] multiprocessing.Queue's put() signature differs from docs

2011-09-04 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: +eli.bendersky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue11155] multiprocessing.Queue's put() signature differs from docs

2011-09-04 Thread Westley Martínez
Westley Martínez added the comment: ¡Hola! Just checking in. The documentation is still incorrect for all versions. There's a patch that fixes it ready to be reviewed. -- ___ Python tracker

[issue11155] multiprocessing.Queue's put() signature differs from docs

2011-04-16 Thread Westley Martínez
Westley Martínez added the comment: Can this patch be commited? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue11155] multiprocessing.Queue's put() signature differs from docs

2011-03-30 Thread Westley Martínez
Westley Martínez added the comment: In that case, I've made a patch that changes the documentation so that "item" is now "obj". for Queue.put and Queue.put_nowait. -- Added file: http://bugs.python.org/file21484/doc-11155.diff ___ Python tracker

[issue11155] multiprocessing.Queue's put() signature differs from docs

2011-03-30 Thread Ezio Melotti
Ezio Melotti added the comment: Technically this is a backward-incompatible change, because it breaks code that uses obj=foo explicitly. -- ___ Python tracker ___ _

[issue11155] multiprocessing.Queue's put() signature differs from docs

2011-03-29 Thread Erik Cederstrand
Changes by Erik Cederstrand : -- versions: +Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue11155] multiprocessing.Queue's put() signature differs from docs

2011-03-29 Thread Erik Cederstrand
Erik Cederstrand added the comment: Just checked on Python 2.7.1 with the same result. Test script attached. -- Added file: http://bugs.python.org/file21459/q.py ___ Python tracker

[issue11155] multiprocessing.Queue's put() signature differs from docs

2011-03-29 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue11155] multiprocessing.Queue's put() signature differs from docs

2011-03-29 Thread Erik Cederstrand
Erik Cederstrand added the comment: I'm not sure if I was supposed to respond. The patch looks straight-forward to me. -- ___ Python tracker ___ ___

[issue11155] multiprocessing.Queue's put() signature differs from docs

2011-03-29 Thread Westley Martínez
Westley Martínez added the comment: Well it's been quite some time and no response yet. -- ___ Python tracker ___ ___ Python-bugs-lis

[issue11155] multiprocessing.Queue's put() signature differs from docs

2011-02-08 Thread Westley Martínez
Westley Martínez added the comment: I've gone through Lib/multiproccing/queues.py and have replaced obj with item. Here's the patch. -- keywords: +patch nosy: +anikom15 Added file: http://bugs.python.org/file20720/multiprocessing-11155.diff ___ Pyth

[issue11155] multiprocessing.Queue's put() signature differs from docs

2011-02-08 Thread Erik Cederstrand
New submission from Erik Cederstrand : In Python 2.6.6 on OSX: >>> import inspect >>> from multiprocessing import Queue >>> q = Queue() >>> print(inspect.getargspec(q.put)) ArgSpec(args=['self', 'obj', 'block', 'timeout'], varargs=None, keywords=None, defaults=(True, None)) >>> from Queue impor