Antoine Pitrou added the comment:
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
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue23680>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com