commit | 6a89481680b921e7b317c29877bdda9a6031e5ad | [log] [tgz] |
---|---|---|
author | Nir Soffer <nirsof@gmail.com> | Fri Dec 01 03:18:58 2017 +0200 |
committer | Victor Stinner <victor.stinner@gmail.com> | Fri Dec 01 02:18:58 2017 +0100 |
tree | d5292d62fba5e604eda83869670acde7c51db492 | |
parent | c319eeeb45043ee45384b8064c53ddbfde1673cd [diff] |
bpo-32186: Release the GIL during lseek and fstat (#4652) In _io_FileIO_readall_impl(), lseek() and _Py_fstat_noraise() were called without releasing the GIL. This can cause all threads to hang for unlimited time when calling FileIO.read() and the NFS server is not accessible.