This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients cjwatson, georg.brandl, inducer, loewis, pitrou, r.david.murray
Date 2010-02-15.10:47:22
SpamBayes Score 8.157026e-05
Marked as misclassified No
Message-id <1266230858.38.0.950267753192.issue1652@psf.upfronthosting.co.za>
In-reply-to
Content
I think restore_sigpipe=True would be a reasonable default.
As RDM says, adding an unit test would be better, but it may be difficult to do so (we probably can't spawn Python itself since it will change the default SIGPIPE handler at startup).
Looking at the patch, you don't need to import `signal` again: it's already imported at the top level.
History
Date User Action Args
2010-02-15 10:47:38pitrousetrecipients: + pitrou, loewis, georg.brandl, inducer, cjwatson, r.david.murray
2010-02-15 10:47:38pitrousetmessageid: <1266230858.38.0.950267753192.issue1652@psf.upfronthosting.co.za>
2010-02-15 10:47:23pitroulinkissue1652 messages
2010-02-15 10:47:22pitroucreate