[issue19185] Allow multiprocessing Pool initializer to return values
Richard Oudkerk
report at bugs.python.org
Wed Oct 9 21:59:24 CEST 2013
Richard Oudkerk added the comment:
> These functions are compliant with POSIX standards and the return values
> are actually useful, they return the previously set masks and handlers,
> often are ignored but in complex cases it's good to know their previous
> state.
Yes. But my point was that somebody might have used such a function as the initializer argument. The proposed change would break a program which does
with Pool(initializer=os.nice, initargs=(incr,)) as p:
...
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19185>
_______________________________________
More information about the Python-bugs-list
mailing list