[issue15064] Use context manager protocol for more multiprocessing types

2015-04-27 Thread Dan O'Reilly

Dan O'Reilly added the comment:

It's probably too late to do anything about this now, but wouldn't it make more 
sense for `Pool.__exit__` to call `close`, rather than `terminate`? The vast 
majority of the time, that's probably what the user of the `Pool` would want to 
run. It also would make the behavior consistent with 
`concurrent.futures.ProcessPoolExecutor`, which will always wait for pending 
tasks to complete before exiting the `with` block.

--
nosy: +dan.oreilly

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15064
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15064] Use context manager protocol for more multiprocessing types

2015-04-27 Thread Ned Deily

Ned Deily added the comment:

Dan, this issue was closed and the code associated with it released a few years 
ago.  Comments here will likely be ignored.  If you want to pursue your 
suggestion, please open a new issue for it.

--
nosy: +ned.deily

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15064
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15064] Use context manager protocol for more multiprocessing types

2012-06-19 Thread Richard Oudkerk

Changes by Richard Oudkerk shibt...@gmail.com:


--
resolution:  - fixed
stage: needs patch - committed/rejected
status: open - closed
title: multiprocessing should use more context manager - Use context manager 
protocol for more multiprocessing types

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15064
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com