[Python-Dev] Help preventing SIGPIPE/SIG_DFL anti-pattern.
Greg Ewing
greg.ewing at canterbury.ac.nz
Sat Jun 30 19:20:26 EDT 2018
More information about the Python-Dev mailing list
Sat Jun 30 19:20:26 EDT 2018
- Previous message (by thread): [Python-Dev] Help preventing SIGPIPE/SIG_DFL anti-pattern.
- Next message (by thread): [Python-Dev] PEP 544 (Protocols): adding a protocol to a class post-hoc
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Alfred Perlstein wrote: > I am asking if there's a way we can discourage the use > of "signal(SIGPIPE, SIG_DFL)" unless the user really understands what > they are doing. Maybe there's some way that SIGPIPEs on stdout could be handled differently by default, so that they exit silently instead of producing an ugly message. That would remove the source of pain that's leading people to do this. -- Greg
- Previous message (by thread): [Python-Dev] Help preventing SIGPIPE/SIG_DFL anti-pattern.
- Next message (by thread): [Python-Dev] PEP 544 (Protocols): adding a protocol to a class post-hoc
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list