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 exarkun, hfuru, loewis, pitrou
Date 2010-11-04.12:51:49
SpamBayes Score 3.140881e-06
Marked as misclassified No
Message-id <hbf.20101104n8qm@bombur.uio.no>
In-reply-to <1288873449.1.0.190737639261.issue10311@psf.upfronthosting.co.za>
Content
Parser/intrcheck.c:intcatcher() should do the same.  Covered in Issue
10312.

Antoine Pitrou writes:
> This is a good idea IMO. It would be better if you minimized style
> changes, so that the patch is easier to review.

I'm afraid the un-rearranged code would be fairly ugly, so I cleaned
up first.  Single exit point.

> Also, is the while loop around write() necessary here?

Whoops, I'd forgotten I did that too, it was on my TODO list to
check if Python makes it unnecessary by making write restartable.
I don't remember if that's possible to ensure on all modern Posixes
History
Date User Action Args
2010-11-04 12:51:51hfurusetrecipients: + hfuru, loewis, exarkun, pitrou
2010-11-04 12:51:50hfurulinkissue10311 messages
2010-11-04 12:51:49hfurucreate