[issue25654] test_multiprocessing_spawn ResourceWarning with -Werror

STINNER Victor report at bugs.python.org
Fri Mar 25 06:16:31 EDT 2016


STINNER Victor added the comment:

Serhiy:
> Lets open new issue for this.

I agree with PyImport_Cleanup() deserves a dedicated issue.

Myself:
> This change has two parts.

Oops, I forgot to discuss the second part :-) You also added "sys.__stderr__ = sys.stderr" in multiprocessing.

I don't understand this change. Can you please explain why you want to do that?

Above, you wrote "A workaround is to set sys.__stdin__ as well as sys.stdin."

Is "sys.__stderr__ = sys.stderr" also a workaround?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25654>
_______________________________________


More information about the Python-bugs-list mailing list