[issue11380] Improve reporting of broken stdout pipe during interpreter shutdown

mike bayer report at bugs.python.org
Tue Mar 11 01:25:06 CET 2014


mike bayer added the comment:

my users are reporting one of these issues, and while I can easily catch IOError on Python 2, I can't catch anything on Python 3, and pointing SIGPIPE to SIG_DFL isn't an option because this is for Alembic migrations and the command needs to complete its work.

What is/will be the recommended solution for people who want their programs to finish totally but not complain when their pipe is cut off in Python 3?

----------
nosy: +zzzeek

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


More information about the Python-bugs-list mailing list