◐ Shell
clean mode source ↗

Message 116540 - Python tracker

There is a funny story related to that though :)

"BSD avoids EINTR entirely and provides a more convenient approach:
 to restart the interrupted primitive, instead of making it fail."

BSD does, but the Mach/XNU kernel combo on OS X is not.  Which is why all the shipped BSD tools have that bug, but if you run their GNU equivalents on OS X everything work as expected.