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 hfuru
Recipients benjamin.peterson, hfuru
Date 2010-11-09.08:42:21
SpamBayes Score 0.00025347853
Marked as misclassified No
Message-id <hbf.20101109u2lo@bombur.uio.no>
In-reply-to <1288874942.68.0.464773855859.issue10312@psf.upfronthosting.co.za>
Content
Sorry, my patch is useless if the OS calls the handler with the signal
blocked.  It should also unblock the signal before doing anything
which can do FILE* operations.  And set the handler again?  Or just
leave the next signal to abort the process?  I dunno...

Anyway, if you don't do that, just apply the save/restore of errno.
Drop the 'if (errno != save_errno)' before restoring, that bit of
paranoia was turned down in Issue10311.
History
Date User Action Args
2010-11-09 08:42:25hfurusetrecipients: + hfuru, benjamin.peterson
2010-11-09 08:42:22hfurulinkissue10312 messages
2010-11-09 08:42:21hfurucreate