Message238221
Note that PIPE_MAX_SIZE can be large. Perhaps move the memory allocation (i.e. `item * (support.PIPE_MAX_SIZE // len(item) + 1)`) before the alarm(1) call?
Or what if alarm_interrupt is simply set up to retrigger the signal? e.g. instead of:
def alarm_interrupt(self, sig, frame):
1/0
write:
def alarm_interrupt(self, sig, frame):
signal.alarm(1)
1/0 |
|
Date |
User |
Action |
Args |
2015-03-16 16:41:08 | pitrou | set | recipients:
+ pitrou, vstinner, neologix |
2015-03-16 16:41:08 | pitrou | set | messageid: <1426524068.73.0.264564987897.issue23680@psf.upfronthosting.co.za> |
2015-03-16 16:41:08 | pitrou | link | issue23680 messages |
2015-03-16 16:41:08 | pitrou | create | |
|