[issue18923] Use the new selectors module in the subprocess module

2013-11-08 Thread Charles-François Natali
Changes by Charles-François Natali : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue18923] Use the new selectors module in the subprocess module

2013-11-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 71b618f0c8e9 by Charles-François Natali in branch 'default': Issue #18923: Update subprocess to use the new selectors module. http://hg.python.org/cpython/rev/71b618f0c8e9 -- nosy: +python-dev ___ Python

[issue18923] Use the new selectors module in the subprocess module

2013-11-05 Thread STINNER Victor
STINNER Victor added the comment: subprocess_selectors-3.diff looks good to me (this patch does not remove any test :-)) I created the issue #19506 for the memoryview optimization. -- ___ Python tracker __

[issue18923] Use the new selectors module in the subprocess module

2013-11-05 Thread Charles-François Natali
Charles-François Natali added the comment: Here's an updated patch with a better logic: in the previous version - based on current poll-based implementation, the FD was inferred from the event (i.e. read ready -> stdout/stderr, write ready -> stderr). The new version directly checks the ready

[issue18923] Use the new selectors module in the subprocess module

2013-11-01 Thread Charles-François Natali
Changes by Charles-François Natali : Added file: http://bugs.python.org/file32448/subprocess_selectors-2.diff ___ Python tracker ___ ___ Pytho

[issue18923] Use the new selectors module in the subprocess module

2013-10-30 Thread Charles-François Natali
Charles-François Natali added the comment: Here's an updated patch using the new selector.get_map() method. It removes ~100 lines to subprocess, which is always nice. -- Added file: http://bugs.python.org/file32429/subprocess_selectors-1.diff ___ Pyth

[issue18923] Use the new selectors module in the subprocess module

2013-10-05 Thread Charles-François Natali
Charles-François Natali added the comment: Here's a patch updating subprocess to use selectors. (It depends on the new keys() method - issue #19172.) -- dependencies: +selectors: add keys() method keywords: +needs review, patch nosy: +neologix stage: -> patch review Added file: http://b

[issue18923] Use the new selectors module in the subprocess module

2013-09-05 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: It's likely that asyncore won't be able to take any practical advantage from this integration. To say one, epoll()/kqueue() pollers won't bring any speedup over select()/poll() because of how asyncore.loop() function is implemented (see http://bugs.python.

[issue18923] Use the new selectors module in the subprocess module

2013-09-05 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue18923] Use the new selectors module in the subprocess module

2013-09-04 Thread STINNER Victor
STINNER Victor added the comment: Other modules using select.select() or select.poll() for more than 1 file descriptor: - asyncore - multiprocessing.connection - multiprocessing.forkserver -- ___ Python tracker _

[issue18923] Use the new selectors module in the subprocess module

2013-09-04 Thread STINNER Victor
New submission from STINNER Victor: Python 3.4 has a new selectors module (issue #16853). It would be nice to use it instead of select.poll or select.select in the subprocess module. -- messages: 196936 nosy: haypo priority: normal severity: normal status: open title: Use the new select