Message120400
| 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 |
|