[issue11836] multiprocessing.queues.SimpleQueue is undocumented

2012-02-15 Thread Sandro Tosi
Sandro Tosi added the comment: Thanks for all you inputs! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue11836] multiprocessing.queues.SimpleQueue is undocumented

2012-02-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3b127a415643 by Sandro Tosi in branch '2.7': Issue #11836: document multiprocessing.queues.SimpleQueue http://hg.python.org/cpython/rev/3b127a415643 New changeset fe5eb6d35025 by Sandro Tosi in branch '3.2': Issue #11836: document multiprocessing.q

[issue11836] multiprocessing.queues.SimpleQueue is undocumented

2012-02-12 Thread Sandro Tosi
Sandro Tosi added the comment: >> OK, so if I got it correctly, I should document >> multiprocessing.queue.SimpleQueue in 2.7 and 3.1 [...] > > s/3.1/3.2/ yeah, just a typo :) -- ___ Python tracker _

[issue11836] multiprocessing.queues.SimpleQueue is undocumented

2012-02-12 Thread Eli Bendersky
Eli Bendersky added the comment: > OK, so if I got it correctly, I should document > multiprocessing.queue.SimpleQueue in 2.7 and 3.1 [...] s/3.1/3.2/ -- ___ Python tracker _

[issue11836] multiprocessing.queues.SimpleQueue is undocumented

2012-02-12 Thread Eli Bendersky
Changes by Eli Bendersky : -- Removed message: http://bugs.python.org/msg153224 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue11836] multiprocessing.queues.SimpleQueue is undocumented

2012-02-12 Thread Eli Bendersky
Eli Bendersky added the comment: >> OK, so if I got it correctly, I should document >> multiprocessing.queue.SimpleQueue in 2.7 and 3.1 [...] and 3.2, we're no longer updating 3.1 with such changes -- ___ Python tracker

[issue11836] multiprocessing.queues.SimpleQueue is undocumented

2012-02-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: > It's the way all the subclasses are imported into the main module that > got me in fault, I think. OK, so if I got it correctly, I should > document multiprocessing.queue.SimpleQueue in 2.7 and 3.1 and > multiprocessing.SimpleQueue in 3.3 also adding the hunk

[issue11836] multiprocessing.queues.SimpleQueue is undocumented

2012-02-12 Thread Sandro Tosi
Sandro Tosi added the comment: It's the way all the subclasses are imported into the main module that got me in fault, I think. OK, so if I got it correctly, I should document multiprocessing.queue.SimpleQueue in 2.7 and 3.1 and multiprocessing.SimpleQueue in 3.3 also adding the hunk to __ini

[issue11836] multiprocessing.queues.SimpleQueue is undocumented

2012-02-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Antoine, I'm probably missing something, but SimpleQueue is present in > 2.7 and 3.2 too, so why not mention it in the doc for those versions too? What I mean is that "multiprocessing.SimpleQueue" is a new API, so should be 3.3-only (while "multiprocessing.

[issue11836] multiprocessing.queues.SimpleQueue is undocumented

2012-02-12 Thread Sandro Tosi
Sandro Tosi added the comment: Thanks Eli for the heads-up, I had missed Antoine's comment! Antoine, I'm probably missing something, but SimpleQueue is present in 2.7 and 3.2 too, so why not mention it in the doc for those versions too? -- ___ Pyth

[issue11836] multiprocessing.queues.SimpleQueue is undocumented

2012-02-08 Thread Eli Bendersky
Eli Bendersky added the comment: Sandro, can you commit, taking Antoine's note into account? -- ___ Python tracker ___ ___ Python-bug

[issue11836] multiprocessing.queues.SimpleQueue is undocumented

2011-11-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Then it appears to me that Sandro's patch is good and can be committed. The doc patch is good. However, if you start exposing SimpleQueue at the top package level, you have to do it in 3.3 only (since that's a new API), and also mention it somehow in the doc.

[issue11836] multiprocessing.queues.SimpleQueue is undocumented

2011-11-15 Thread Eli Bendersky
Eli Bendersky added the comment: Then it appears to me that Sandro's patch is good and can be committed. -- ___ Python tracker ___ __

[issue11836] multiprocessing.queues.SimpleQueue is undocumented

2011-11-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Wouldn't a better alternative be to have a wait function which can > deal with readable pipe connections and integer handles? > > On Unix this would just delegate to select(). > > On Windows it could work as follows: > * initiate an overlapped read on each c

[issue11836] multiprocessing.queues.SimpleQueue is undocumented

2011-11-14 Thread sbt
sbt added the comment: > Well, the sentinels argument, right now, is meant to be used > internally. I don't think it's a good thing to document it, > since I don't think it's a very clean API (I know, I introduced > it :-)) Wouldn't a better alternative be to have a wait function which can d

[issue11836] multiprocessing.queues.SimpleQueue is undocumented

2011-11-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, the sentinels argument, right now, is meant to be used internally. I don't think it's a good thing to document it, since I don't think it's a very clean API (I know, I introduced it :-)) - it's just so that concurrent.futures can detect dead processes.

[issue11836] multiprocessing.queues.SimpleQueue is undocumented

2011-11-13 Thread Eli Bendersky
Eli Bendersky added the comment: However, sentinels *are* mentioned in the multiprocessing doc, below multiprocessing.Process: " sentinel A numeric handle of a system object which will become “ready” when the process ends. On Windows, this is an OS handle usable with the WaitForSing

[issue11836] multiprocessing.queues.SimpleQueue is undocumented

2011-11-13 Thread Eli Bendersky
Eli Bendersky added the comment: Sandro - yep, the sentinels arg is also undocumented in multiprocessing.PipeConnection.recv() and further down the road... -- ___ Python tracker __

[issue11836] multiprocessing.queues.SimpleQueue is undocumented

2011-08-08 Thread Sandro Tosi
Changes by Sandro Tosi : -- keywords: +patch Added file: http://bugs.python.org/file22863/issue11836-default.patch ___ Python tracker ___

[issue11836] multiprocessing.queues.SimpleQueue is undocumented

2011-08-08 Thread Sandro Tosi
Sandro Tosi added the comment: Here's a patch to add SimpleQueue to doc and __all__ . I didn't document the 'sentinels' argument of SimpleQueue.get() because I got lost into Pipe _pool and can't understand how those sentinels are actually used/useful. Any hint is appreciated :) -- no

[issue11836] multiprocessing.queues.SimpleQueue is undocumented

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

[issue11836] multiprocessing.queues.SimpleQueue is undocumented

2011-04-12 Thread Antoine Pitrou
New submission from Antoine Pitrou : multiprocessing.queues.SimpleQueue is undocumented and doesn't appear in multiprocessing.__all__. -- assignee: docs@python components: Documentation, Library (Lib) keywords: easy messages: 133586 nosy: docs@python, pitrou priority: normal severity: n