New submission from Tor Colvin: platform.uname() periodically spews EINTR errors on mac - so use subproces.communicate() which is EINTR safe after http://bugs.python.org/issue1068268
Calling f.read() on naked os.open() output can produce "IOError: [Errno 4] Interrupted system call". Attached is a suggested fix. ---------- files: platform.py.fix messages: 220654 nosy: Tor.Colvin priority: normal severity: normal status: open title: platform.uname() not EINTR safe type: behavior versions: Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4, Python 3.5 Added file: http://bugs.python.org/file35646/platform.py.fix _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21772> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com