3 ms·
> For example, last time I checked, in Python 2.7, a signal that invoked a signal handler will cause a running print() to throw an exception. Python 3.5 fixes
by ptx 10y ago
> For example, last time I checked, in Python 2.7, a signal that invoked a signal handler will cause a running print() to throw an exception.
Python 3.5 fixes this – system calls are now automatically retried:
https://docs.python.org/3.5/whatsnew/3.5.html#pep-475-retry-system-calls-failing-with-eintr https://docs.python.org/3.5/whatsnew/3.5.html#pep-475-retry-...