[issue3831] Multiprocessing: Expose underlying pipe in queues

2008-09-11 Thread Steve Smith
Steve Smith <[EMAIL PROTECTED]> added the comment: Hi Jesse, The use-case I had is mind is enabling asyncronous (i.e. select() style) notification of data being available on the queue, which is more elegant (and efficient) than polling with get(). Example code showing how this works wi

[issue3831] Multiprocessing: Expose underlying pipe in queues

2008-09-10 Thread Steve Smith
New submission from Steve Smith <[EMAIL PROTECTED]>: Both Connection and Pipe objects expose their underlying file descriptors, which is useful for accessing them in an event-driven manner. However the higher-level Queue does not make the underlying pipe available; to get at them yo

[issue3792] Module variable overridden in child processes with multiprocessing

2008-09-06 Thread Steve Smith
Steve Smith <[EMAIL PROTECTED]> added the comment: Ugh, sorry. Stupidity on the reporter's part. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.

[issue3792] Module variable overridden in child processes with multiprocessing

2008-09-05 Thread Steve Smith
New submission from Steve Smith <[EMAIL PROTECTED]>: The process variable 'p' is leaking into sub-processes when using the multiprocessing modules. The following code demonstrates the problem: import sys from multiprocessing import Process p = 'C