cpython/Python
Nir Soffer 4484f9dca9 bpo-33021: Release the GIL during fstat() calls (GH-6019)
fstat may block for long time if the file descriptor is on a
non-responsive NFS server, hanging all threads. Most fstat() calls are
handled by _Py_fstat(), releasing the GIL internally, but but
_Py_fstat_noraise() does not release the GIL, and most calls release the
GIL explicitly around it.

This patch fixes last 2 calls to _Py_fstat_no_raise(), avoiding hangs
when calling:
- mmap.mmap()
- os.urandom()
- random.seed()
2018-03-12 00:39:22 +01:00
..
clinic
_warnings.c
asdl.c
ast.c
ast_opt.c bpo-32925: Optimized iterating and containing test for literal lists (GH-5842) 2018-03-11 10:54:47 +02:00
ast_unparse.c
bltinmodule.c
bootstrap_hash.c bpo-33021: Release the GIL during fstat() calls (GH-6019) 2018-03-12 00:39:22 +01:00
ceval.c bpo-17611. Move unwinding of stack for "pseudo exceptions" from interpreter to compiler. (GH-5006) 2018-02-22 23:33:30 +02:00
ceval_gil.h
codecs.c
compile.c bpo-33041: Add missed error checks when compile "async for" (#6053) 2018-03-10 18:49:26 +02:00
condvar.h
context.c Fix some warnings produced by different compilers. (#5593) 2018-02-09 17:31:26 +02:00
dtoa.c
dup2.c
dynamic_annotations.c
dynload_aix.c
dynload_dl.c
dynload_hpux.c
dynload_shlib.c
dynload_stub.c
dynload_win.c
errors.c
fileutils.c bpo-32869: Fix incorrect dst buffer size for MultiByteToWideChar (#5739) 2018-02-18 19:57:24 +02:00
formatter_unicode.c
frozen.c
frozenmain.c
future.c
getargs.c bpo-32746: Fix multiple typos (GH-5144) 2018-02-03 19:36:10 -05:00
getcompiler.c
getcopyright.c
getopt.c
getplatform.c
getversion.c
graminit.c
hamt.c Add two missing error checks in hamt.c (GH-5851) 2018-03-08 13:59:46 +08:00
import.c bpo-32946: Speed up "from ... import ..." from non-packages. (GH-5873) 2018-03-11 10:52:37 +02:00
importdl.c
importdl.h
importlib.h bpo-32946: Speed up "from ... import ..." from non-packages. (GH-5873) 2018-03-11 10:52:37 +02:00
importlib_external.h bpo-17611. Move unwinding of stack for "pseudo exceptions" from interpreter to compiler. (GH-5006) 2018-02-22 23:33:30 +02:00
makeopcodetargets.py
marshal.c
modsupport.c
mysnprintf.c
mystrtoul.c
opcode_targets.h bpo-17611. Move unwinding of stack for "pseudo exceptions" from interpreter to compiler. (GH-5006) 2018-02-22 23:33:30 +02:00
pathconfig.c
peephole.c bpo-17611. Move unwinding of stack for "pseudo exceptions" from interpreter to compiler. (GH-5006) 2018-02-22 23:33:30 +02:00
pyarena.c
pyctype.c
pyfpe.c
pyhash.c Fix some warnings produced by different compilers. (#5593) 2018-02-09 17:31:26 +02:00
pylifecycle.c closes bpo-32980 Remove _PyFrame_Init (GH-5965) 2018-03-03 22:06:01 -08:00
pymath.c
pystate.c bpo-33005: Fix _PyGILState_Reinit() (#6001) 2018-03-06 14:31:37 +01:00
pystrcmp.c
pystrhex.c
pystrtod.c Drop confusing commented out code in pystrtod.c (GH-6072) 2018-03-11 17:45:10 +08:00
Python-ast.c
pythonrun.c
pytime.c
README
strdup.c
structmember.c
symtable.c bpo-32836: Remove obsolete code from symtable pass (GH-5680) 2018-02-27 07:31:20 +10:00
sysmodule.c
thread.c
thread_nt.h
thread_pthread.h
traceback.c
wordcode_helpers.h

Miscellaneous source files for the main Python shared library