Coverage Report

Created: 2022-07-08 09:39

/home/mdboom/Work/builds/cpython/Include/internal/pycore_pystate.h
Line
Count
Source (jump to first uncovered line)
1
#ifndef Py_INTERNAL_PYSTATE_H
2
#define Py_INTERNAL_PYSTATE_H
3
#ifdef __cplusplus
4
extern "C" {
5
#endif
6
7
#ifndef Py_BUILD_CORE
8
#  error "this header requires Py_BUILD_CORE define"
9
#endif
10
11
#include "pycore_runtime.h"   /* PyRuntimeState */
12
13
14
/* Check if the current thread is the main thread.
15
   Use _Py_IsMainInterpreter() to check if it's the main interpreter. */
16
static inline int
17
_Py_IsMainThread(void)
18
{
19
    unsigned long thread = PyThread_get_thread_ident();
20
    return (thread == _PyRuntime.main_thread);
21
}
Unexecuted instantiation: myreadline.c:_Py_IsMainThread
Unexecuted instantiation: tokenizer.c:_Py_IsMainThread
Unexecuted instantiation: abstract.c:_Py_IsMainThread
Unexecuted instantiation: boolobject.c:_Py_IsMainThread
Unexecuted instantiation: bytearrayobject.c:_Py_IsMainThread
Unexecuted instantiation: bytesobject.c:_Py_IsMainThread
Unexecuted instantiation: call.c:_Py_IsMainThread
Unexecuted instantiation: cellobject.c:_Py_IsMainThread
Unexecuted instantiation: classobject.c:_Py_IsMainThread
Unexecuted instantiation: codeobject.c:_Py_IsMainThread
Unexecuted instantiation: complexobject.c:_Py_IsMainThread
Unexecuted instantiation: descrobject.c:_Py_IsMainThread
Unexecuted instantiation: enumobject.c:_Py_IsMainThread
Unexecuted instantiation: exceptions.c:_Py_IsMainThread
Unexecuted instantiation: genericaliasobject.c:_Py_IsMainThread
Unexecuted instantiation: genobject.c:_Py_IsMainThread
Unexecuted instantiation: fileobject.c:_Py_IsMainThread
Unexecuted instantiation: floatobject.c:_Py_IsMainThread
Unexecuted instantiation: frameobject.c:_Py_IsMainThread
Unexecuted instantiation: funcobject.c:_Py_IsMainThread
Unexecuted instantiation: iterobject.c:_Py_IsMainThread
Unexecuted instantiation: listobject.c:_Py_IsMainThread
Unexecuted instantiation: longobject.c:_Py_IsMainThread
Unexecuted instantiation: dictobject.c:_Py_IsMainThread
Unexecuted instantiation: odictobject.c:_Py_IsMainThread
Unexecuted instantiation: memoryobject.c:_Py_IsMainThread
Unexecuted instantiation: methodobject.c:_Py_IsMainThread
Unexecuted instantiation: moduleobject.c:_Py_IsMainThread
Unexecuted instantiation: object.c:_Py_IsMainThread
Unexecuted instantiation: setobject.c:_Py_IsMainThread
Unexecuted instantiation: sliceobject.c:_Py_IsMainThread
Unexecuted instantiation: structseq.c:_Py_IsMainThread
Unexecuted instantiation: tupleobject.c:_Py_IsMainThread
Unexecuted instantiation: typeobject.c:_Py_IsMainThread
Unexecuted instantiation: unicodeobject.c:_Py_IsMainThread
Unexecuted instantiation: unionobject.c:_Py_IsMainThread
Unexecuted instantiation: weakrefobject.c:_Py_IsMainThread
Unexecuted instantiation: _warnings.c:_Py_IsMainThread
Unexecuted instantiation: Python-ast.c:_Py_IsMainThread
Unexecuted instantiation: ast.c:_Py_IsMainThread
Unexecuted instantiation: ast_opt.c:_Py_IsMainThread
Unexecuted instantiation: bltinmodule.c:_Py_IsMainThread
ceval.c:_Py_IsMainThread
Line
Count
Source
18
{
19
    unsigned long thread = PyThread_get_thread_ident();
20
    return (thread == _PyRuntime.main_thread);
21
}
Unexecuted instantiation: codecs.c:_Py_IsMainThread
Unexecuted instantiation: context.c:_Py_IsMainThread
Unexecuted instantiation: errors.c:_Py_IsMainThread
Unexecuted instantiation: frame.c:_Py_IsMainThread
Unexecuted instantiation: hamt.c:_Py_IsMainThread
Unexecuted instantiation: import.c:_Py_IsMainThread
Unexecuted instantiation: importdl.c:_Py_IsMainThread
Unexecuted instantiation: initconfig.c:_Py_IsMainThread
Unexecuted instantiation: marshal.c:_Py_IsMainThread
Unexecuted instantiation: pylifecycle.c:_Py_IsMainThread
Unexecuted instantiation: pystate.c:_Py_IsMainThread
Unexecuted instantiation: pythonrun.c:_Py_IsMainThread
Unexecuted instantiation: specialize.c:_Py_IsMainThread
Unexecuted instantiation: symtable.c:_Py_IsMainThread
Unexecuted instantiation: sysmodule.c:_Py_IsMainThread
Unexecuted instantiation: thread.c:_Py_IsMainThread
Unexecuted instantiation: traceback.c:_Py_IsMainThread
Unexecuted instantiation: dynload_shlib.c:_Py_IsMainThread
Unexecuted instantiation: main.c:_Py_IsMainThread
Unexecuted instantiation: gcmodule.c:_Py_IsMainThread
Unexecuted instantiation: atexitmodule.c:_Py_IsMainThread
Unexecuted instantiation: faulthandler.c:_Py_IsMainThread
Unexecuted instantiation: posixmodule.c:_Py_IsMainThread
signalmodule.c:_Py_IsMainThread
Line
Count
Source
18
{
19
    unsigned long thread = PyThread_get_thread_ident();
20
    return (thread == _PyRuntime.main_thread);
21
}
Unexecuted instantiation: _collectionsmodule.c:_Py_IsMainThread
Unexecuted instantiation: _iomodule.c:_Py_IsMainThread
Unexecuted instantiation: iobase.c:_Py_IsMainThread
Unexecuted instantiation: fileio.c:_Py_IsMainThread
Unexecuted instantiation: bytesio.c:_Py_IsMainThread
Unexecuted instantiation: bufferedio.c:_Py_IsMainThread
Unexecuted instantiation: textio.c:_Py_IsMainThread
Unexecuted instantiation: stringio.c:_Py_IsMainThread
Unexecuted instantiation: itertoolsmodule.c:_Py_IsMainThread
Unexecuted instantiation: _threadmodule.c:_Py_IsMainThread
Unexecuted instantiation: _weakref.c:_Py_IsMainThread
Unexecuted instantiation: _abc.c:_Py_IsMainThread
Unexecuted instantiation: _functoolsmodule.c:_Py_IsMainThread
22
23
24
static inline PyInterpreterState *
25
_PyInterpreterState_Main(void)
26
{
27
    return _PyRuntime.interpreters.main;
28
}
Unexecuted instantiation: myreadline.c:_PyInterpreterState_Main
Unexecuted instantiation: tokenizer.c:_PyInterpreterState_Main
Unexecuted instantiation: abstract.c:_PyInterpreterState_Main
Unexecuted instantiation: boolobject.c:_PyInterpreterState_Main
Unexecuted instantiation: bytearrayobject.c:_PyInterpreterState_Main
bytesobject.c:_PyInterpreterState_Main
Line
Count
Source
26
{
27
    return _PyRuntime.interpreters.main;
28
}
Unexecuted instantiation: call.c:_PyInterpreterState_Main
Unexecuted instantiation: cellobject.c:_PyInterpreterState_Main
Unexecuted instantiation: classobject.c:_PyInterpreterState_Main
Unexecuted instantiation: codeobject.c:_PyInterpreterState_Main
Unexecuted instantiation: complexobject.c:_PyInterpreterState_Main
Unexecuted instantiation: descrobject.c:_PyInterpreterState_Main
Unexecuted instantiation: enumobject.c:_PyInterpreterState_Main
exceptions.c:_PyInterpreterState_Main
Line
Count
Source
26
{
27
    return _PyRuntime.interpreters.main;
28
}
Unexecuted instantiation: genericaliasobject.c:_PyInterpreterState_Main
Unexecuted instantiation: genobject.c:_PyInterpreterState_Main
Unexecuted instantiation: fileobject.c:_PyInterpreterState_Main
floatobject.c:_PyInterpreterState_Main
Line
Count
Source
26
{
27
    return _PyRuntime.interpreters.main;
28
}
Unexecuted instantiation: frameobject.c:_PyInterpreterState_Main
Unexecuted instantiation: funcobject.c:_PyInterpreterState_Main
Unexecuted instantiation: iterobject.c:_PyInterpreterState_Main
Unexecuted instantiation: listobject.c:_PyInterpreterState_Main
longobject.c:_PyInterpreterState_Main
Line
Count
Source
26
{
27
    return _PyRuntime.interpreters.main;
28
}
Unexecuted instantiation: dictobject.c:_PyInterpreterState_Main
Unexecuted instantiation: odictobject.c:_PyInterpreterState_Main
Unexecuted instantiation: memoryobject.c:_PyInterpreterState_Main
Unexecuted instantiation: methodobject.c:_PyInterpreterState_Main
Unexecuted instantiation: moduleobject.c:_PyInterpreterState_Main
object.c:_PyInterpreterState_Main
Line
Count
Source
26
{
27
    return _PyRuntime.interpreters.main;
28
}
Unexecuted instantiation: setobject.c:_PyInterpreterState_Main
Unexecuted instantiation: sliceobject.c:_PyInterpreterState_Main
Unexecuted instantiation: structseq.c:_PyInterpreterState_Main
tupleobject.c:_PyInterpreterState_Main
Line
Count
Source
26
{
27
    return _PyRuntime.interpreters.main;
28
}
typeobject.c:_PyInterpreterState_Main
Line
Count
Source
26
{
27
    return _PyRuntime.interpreters.main;
28
}
unicodeobject.c:_PyInterpreterState_Main
Line
Count
Source
26
{
27
    return _PyRuntime.interpreters.main;
28
}
Unexecuted instantiation: unionobject.c:_PyInterpreterState_Main
Unexecuted instantiation: weakrefobject.c:_PyInterpreterState_Main
Unexecuted instantiation: _warnings.c:_PyInterpreterState_Main
Unexecuted instantiation: Python-ast.c:_PyInterpreterState_Main
Unexecuted instantiation: ast.c:_PyInterpreterState_Main
Unexecuted instantiation: ast_opt.c:_PyInterpreterState_Main
Unexecuted instantiation: bltinmodule.c:_PyInterpreterState_Main
ceval.c:_PyInterpreterState_Main
Line
Count
Source
26
{
27
    return _PyRuntime.interpreters.main;
28
}
Unexecuted instantiation: codecs.c:_PyInterpreterState_Main
context.c:_PyInterpreterState_Main
Line
Count
Source
26
{
27
    return _PyRuntime.interpreters.main;
28
}
errors.c:_PyInterpreterState_Main
Line
Count
Source
26
{
27
    return _PyRuntime.interpreters.main;
28
}
Unexecuted instantiation: frame.c:_PyInterpreterState_Main
Unexecuted instantiation: hamt.c:_PyInterpreterState_Main
import.c:_PyInterpreterState_Main
Line
Count
Source
26
{
27
    return _PyRuntime.interpreters.main;
28
}
Unexecuted instantiation: importdl.c:_PyInterpreterState_Main
Unexecuted instantiation: initconfig.c:_PyInterpreterState_Main
Unexecuted instantiation: marshal.c:_PyInterpreterState_Main
pylifecycle.c:_PyInterpreterState_Main
Line
Count
Source
26
{
27
    return _PyRuntime.interpreters.main;
28
}
pystate.c:_PyInterpreterState_Main
Line
Count
Source
26
{
27
    return _PyRuntime.interpreters.main;
28
}
Unexecuted instantiation: pythonrun.c:_PyInterpreterState_Main
Unexecuted instantiation: specialize.c:_PyInterpreterState_Main
Unexecuted instantiation: symtable.c:_PyInterpreterState_Main
sysmodule.c:_PyInterpreterState_Main
Line
Count
Source
26
{
27
    return _PyRuntime.interpreters.main;
28
}
thread.c:_PyInterpreterState_Main
Line
Count
Source
26
{
27
    return _PyRuntime.interpreters.main;
28
}
Unexecuted instantiation: traceback.c:_PyInterpreterState_Main
Unexecuted instantiation: dynload_shlib.c:_PyInterpreterState_Main
Unexecuted instantiation: main.c:_PyInterpreterState_Main
gcmodule.c:_PyInterpreterState_Main
Line
Count
Source
26
{
27
    return _PyRuntime.interpreters.main;
28
}
Unexecuted instantiation: atexitmodule.c:_PyInterpreterState_Main
Unexecuted instantiation: faulthandler.c:_PyInterpreterState_Main
posixmodule.c:_PyInterpreterState_Main
Line
Count
Source
26
{
27
    return _PyRuntime.interpreters.main;
28
}
signalmodule.c:_PyInterpreterState_Main
Line
Count
Source
26
{
27
    return _PyRuntime.interpreters.main;
28
}
Unexecuted instantiation: _collectionsmodule.c:_PyInterpreterState_Main
Unexecuted instantiation: _iomodule.c:_PyInterpreterState_Main
Unexecuted instantiation: iobase.c:_PyInterpreterState_Main
Unexecuted instantiation: fileio.c:_PyInterpreterState_Main
Unexecuted instantiation: bytesio.c:_PyInterpreterState_Main
Unexecuted instantiation: bufferedio.c:_PyInterpreterState_Main
Unexecuted instantiation: textio.c:_PyInterpreterState_Main
Unexecuted instantiation: stringio.c:_PyInterpreterState_Main
Unexecuted instantiation: itertoolsmodule.c:_PyInterpreterState_Main
Unexecuted instantiation: _threadmodule.c:_PyInterpreterState_Main
Unexecuted instantiation: _weakref.c:_PyInterpreterState_Main
Unexecuted instantiation: _abc.c:_PyInterpreterState_Main
Unexecuted instantiation: _functoolsmodule.c:_PyInterpreterState_Main
29
30
static inline int
31
_Py_IsMainInterpreter(PyInterpreterState *interp)
32
{
33
    return (interp == _PyInterpreterState_Main());
34
}
Unexecuted instantiation: myreadline.c:_Py_IsMainInterpreter
Unexecuted instantiation: tokenizer.c:_Py_IsMainInterpreter
Unexecuted instantiation: abstract.c:_Py_IsMainInterpreter
Unexecuted instantiation: boolobject.c:_Py_IsMainInterpreter
Unexecuted instantiation: bytearrayobject.c:_Py_IsMainInterpreter
bytesobject.c:_Py_IsMainInterpreter
Line
Count
Source
32
{
33
    return (interp == _PyInterpreterState_Main());
34
}
Unexecuted instantiation: call.c:_Py_IsMainInterpreter
Unexecuted instantiation: cellobject.c:_Py_IsMainInterpreter
Unexecuted instantiation: classobject.c:_Py_IsMainInterpreter
Unexecuted instantiation: codeobject.c:_Py_IsMainInterpreter
Unexecuted instantiation: complexobject.c:_Py_IsMainInterpreter
Unexecuted instantiation: descrobject.c:_Py_IsMainInterpreter
Unexecuted instantiation: enumobject.c:_Py_IsMainInterpreter
exceptions.c:_Py_IsMainInterpreter
Line
Count
Source
32
{
33
    return (interp == _PyInterpreterState_Main());
34
}
Unexecuted instantiation: genericaliasobject.c:_Py_IsMainInterpreter
Unexecuted instantiation: genobject.c:_Py_IsMainInterpreter
Unexecuted instantiation: fileobject.c:_Py_IsMainInterpreter
floatobject.c:_Py_IsMainInterpreter
Line
Count
Source
32
{
33
    return (interp == _PyInterpreterState_Main());
34
}
Unexecuted instantiation: frameobject.c:_Py_IsMainInterpreter
Unexecuted instantiation: funcobject.c:_Py_IsMainInterpreter
Unexecuted instantiation: iterobject.c:_Py_IsMainInterpreter
Unexecuted instantiation: listobject.c:_Py_IsMainInterpreter
longobject.c:_Py_IsMainInterpreter
Line
Count
Source
32
{
33
    return (interp == _PyInterpreterState_Main());
34
}
Unexecuted instantiation: dictobject.c:_Py_IsMainInterpreter
Unexecuted instantiation: odictobject.c:_Py_IsMainInterpreter
Unexecuted instantiation: memoryobject.c:_Py_IsMainInterpreter
Unexecuted instantiation: methodobject.c:_Py_IsMainInterpreter
Unexecuted instantiation: moduleobject.c:_Py_IsMainInterpreter
object.c:_Py_IsMainInterpreter
Line
Count
Source
32
{
33
    return (interp == _PyInterpreterState_Main());
34
}
Unexecuted instantiation: setobject.c:_Py_IsMainInterpreter
Unexecuted instantiation: sliceobject.c:_Py_IsMainInterpreter
Unexecuted instantiation: structseq.c:_Py_IsMainInterpreter
tupleobject.c:_Py_IsMainInterpreter
Line
Count
Source
32
{
33
    return (interp == _PyInterpreterState_Main());
34
}
typeobject.c:_Py_IsMainInterpreter
Line
Count
Source
32
{
33
    return (interp == _PyInterpreterState_Main());
34
}
unicodeobject.c:_Py_IsMainInterpreter
Line
Count
Source
32
{
33
    return (interp == _PyInterpreterState_Main());
34
}
Unexecuted instantiation: unionobject.c:_Py_IsMainInterpreter
Unexecuted instantiation: weakrefobject.c:_Py_IsMainInterpreter
Unexecuted instantiation: _warnings.c:_Py_IsMainInterpreter
Unexecuted instantiation: Python-ast.c:_Py_IsMainInterpreter
Unexecuted instantiation: ast.c:_Py_IsMainInterpreter
Unexecuted instantiation: ast_opt.c:_Py_IsMainInterpreter
Unexecuted instantiation: bltinmodule.c:_Py_IsMainInterpreter
ceval.c:_Py_IsMainInterpreter
Line
Count
Source
32
{
33
    return (interp == _PyInterpreterState_Main());
34
}
Unexecuted instantiation: codecs.c:_Py_IsMainInterpreter
context.c:_Py_IsMainInterpreter
Line
Count
Source
32
{
33
    return (interp == _PyInterpreterState_Main());
34
}
errors.c:_Py_IsMainInterpreter
Line
Count
Source
32
{
33
    return (interp == _PyInterpreterState_Main());
34
}
Unexecuted instantiation: frame.c:_Py_IsMainInterpreter
Unexecuted instantiation: hamt.c:_Py_IsMainInterpreter
import.c:_Py_IsMainInterpreter
Line
Count
Source
32
{
33
    return (interp == _PyInterpreterState_Main());
34
}
Unexecuted instantiation: importdl.c:_Py_IsMainInterpreter
Unexecuted instantiation: initconfig.c:_Py_IsMainInterpreter
Unexecuted instantiation: marshal.c:_Py_IsMainInterpreter
pylifecycle.c:_Py_IsMainInterpreter
Line
Count
Source
32
{
33
    return (interp == _PyInterpreterState_Main());
34
}
pystate.c:_Py_IsMainInterpreter
Line
Count
Source
32
{
33
    return (interp == _PyInterpreterState_Main());
34
}
Unexecuted instantiation: pythonrun.c:_Py_IsMainInterpreter
Unexecuted instantiation: specialize.c:_Py_IsMainInterpreter
Unexecuted instantiation: symtable.c:_Py_IsMainInterpreter
sysmodule.c:_Py_IsMainInterpreter
Line
Count
Source
32
{
33
    return (interp == _PyInterpreterState_Main());
34
}
thread.c:_Py_IsMainInterpreter
Line
Count
Source
32
{
33
    return (interp == _PyInterpreterState_Main());
34
}
Unexecuted instantiation: traceback.c:_Py_IsMainInterpreter
Unexecuted instantiation: dynload_shlib.c:_Py_IsMainInterpreter
Unexecuted instantiation: main.c:_Py_IsMainInterpreter
gcmodule.c:_Py_IsMainInterpreter
Line
Count
Source
32
{
33
    return (interp == _PyInterpreterState_Main());
34
}
Unexecuted instantiation: atexitmodule.c:_Py_IsMainInterpreter
Unexecuted instantiation: faulthandler.c:_Py_IsMainInterpreter
posixmodule.c:_Py_IsMainInterpreter
Line
Count
Source
32
{
33
    return (interp == _PyInterpreterState_Main());
34
}
signalmodule.c:_Py_IsMainInterpreter
Line
Count
Source
32
{
33
    return (interp == _PyInterpreterState_Main());
34
}
Unexecuted instantiation: _collectionsmodule.c:_Py_IsMainInterpreter
Unexecuted instantiation: _iomodule.c:_Py_IsMainInterpreter
Unexecuted instantiation: iobase.c:_Py_IsMainInterpreter
Unexecuted instantiation: fileio.c:_Py_IsMainInterpreter
Unexecuted instantiation: bytesio.c:_Py_IsMainInterpreter
Unexecuted instantiation: bufferedio.c:_Py_IsMainInterpreter
Unexecuted instantiation: textio.c:_Py_IsMainInterpreter
Unexecuted instantiation: stringio.c:_Py_IsMainInterpreter
Unexecuted instantiation: itertoolsmodule.c:_Py_IsMainInterpreter
Unexecuted instantiation: _threadmodule.c:_Py_IsMainInterpreter
Unexecuted instantiation: _weakref.c:_Py_IsMainInterpreter
Unexecuted instantiation: _abc.c:_Py_IsMainInterpreter
Unexecuted instantiation: _functoolsmodule.c:_Py_IsMainInterpreter
35
36
37
static inline const PyConfig *
38
_Py_GetMainConfig(void)
39
{
40
    PyInterpreterState *interp = _PyInterpreterState_Main();
41
    if (interp == NULL) {
42
        return NULL;
43
    }
44
    return _PyInterpreterState_GetConfig(interp);
45
}
Unexecuted instantiation: myreadline.c:_Py_GetMainConfig
Unexecuted instantiation: tokenizer.c:_Py_GetMainConfig
Unexecuted instantiation: abstract.c:_Py_GetMainConfig
Unexecuted instantiation: boolobject.c:_Py_GetMainConfig
Unexecuted instantiation: bytearrayobject.c:_Py_GetMainConfig
Unexecuted instantiation: bytesobject.c:_Py_GetMainConfig
Unexecuted instantiation: call.c:_Py_GetMainConfig
Unexecuted instantiation: cellobject.c:_Py_GetMainConfig
Unexecuted instantiation: classobject.c:_Py_GetMainConfig
Unexecuted instantiation: codeobject.c:_Py_GetMainConfig
Unexecuted instantiation: complexobject.c:_Py_GetMainConfig
Unexecuted instantiation: descrobject.c:_Py_GetMainConfig
Unexecuted instantiation: enumobject.c:_Py_GetMainConfig
Unexecuted instantiation: exceptions.c:_Py_GetMainConfig
Unexecuted instantiation: genericaliasobject.c:_Py_GetMainConfig
Unexecuted instantiation: genobject.c:_Py_GetMainConfig
Unexecuted instantiation: fileobject.c:_Py_GetMainConfig
Unexecuted instantiation: floatobject.c:_Py_GetMainConfig
Unexecuted instantiation: frameobject.c:_Py_GetMainConfig
Unexecuted instantiation: funcobject.c:_Py_GetMainConfig
Unexecuted instantiation: iterobject.c:_Py_GetMainConfig
Unexecuted instantiation: listobject.c:_Py_GetMainConfig
Unexecuted instantiation: longobject.c:_Py_GetMainConfig
Unexecuted instantiation: dictobject.c:_Py_GetMainConfig
Unexecuted instantiation: odictobject.c:_Py_GetMainConfig
Unexecuted instantiation: memoryobject.c:_Py_GetMainConfig
Unexecuted instantiation: methodobject.c:_Py_GetMainConfig
Unexecuted instantiation: moduleobject.c:_Py_GetMainConfig
Unexecuted instantiation: object.c:_Py_GetMainConfig
Unexecuted instantiation: setobject.c:_Py_GetMainConfig
Unexecuted instantiation: sliceobject.c:_Py_GetMainConfig
Unexecuted instantiation: structseq.c:_Py_GetMainConfig
Unexecuted instantiation: tupleobject.c:_Py_GetMainConfig
Unexecuted instantiation: typeobject.c:_Py_GetMainConfig
Unexecuted instantiation: unicodeobject.c:_Py_GetMainConfig
Unexecuted instantiation: unionobject.c:_Py_GetMainConfig
Unexecuted instantiation: weakrefobject.c:_Py_GetMainConfig
Unexecuted instantiation: _warnings.c:_Py_GetMainConfig
Unexecuted instantiation: Python-ast.c:_Py_GetMainConfig
Unexecuted instantiation: ast.c:_Py_GetMainConfig
Unexecuted instantiation: ast_opt.c:_Py_GetMainConfig
Unexecuted instantiation: bltinmodule.c:_Py_GetMainConfig
Unexecuted instantiation: ceval.c:_Py_GetMainConfig
Unexecuted instantiation: codecs.c:_Py_GetMainConfig
Unexecuted instantiation: context.c:_Py_GetMainConfig
Unexecuted instantiation: errors.c:_Py_GetMainConfig
Unexecuted instantiation: frame.c:_Py_GetMainConfig
Unexecuted instantiation: hamt.c:_Py_GetMainConfig
Unexecuted instantiation: import.c:_Py_GetMainConfig
Unexecuted instantiation: importdl.c:_Py_GetMainConfig
Unexecuted instantiation: initconfig.c:_Py_GetMainConfig
Unexecuted instantiation: marshal.c:_Py_GetMainConfig
Unexecuted instantiation: pylifecycle.c:_Py_GetMainConfig
Unexecuted instantiation: pystate.c:_Py_GetMainConfig
Unexecuted instantiation: pythonrun.c:_Py_GetMainConfig
Unexecuted instantiation: specialize.c:_Py_GetMainConfig
Unexecuted instantiation: symtable.c:_Py_GetMainConfig
Unexecuted instantiation: sysmodule.c:_Py_GetMainConfig
Unexecuted instantiation: thread.c:_Py_GetMainConfig
Unexecuted instantiation: traceback.c:_Py_GetMainConfig
Unexecuted instantiation: dynload_shlib.c:_Py_GetMainConfig
Unexecuted instantiation: main.c:_Py_GetMainConfig
Unexecuted instantiation: gcmodule.c:_Py_GetMainConfig
Unexecuted instantiation: atexitmodule.c:_Py_GetMainConfig
Unexecuted instantiation: faulthandler.c:_Py_GetMainConfig
Unexecuted instantiation: posixmodule.c:_Py_GetMainConfig
Unexecuted instantiation: signalmodule.c:_Py_GetMainConfig
Unexecuted instantiation: _collectionsmodule.c:_Py_GetMainConfig
Unexecuted instantiation: _iomodule.c:_Py_GetMainConfig
Unexecuted instantiation: iobase.c:_Py_GetMainConfig
Unexecuted instantiation: fileio.c:_Py_GetMainConfig
Unexecuted instantiation: bytesio.c:_Py_GetMainConfig
Unexecuted instantiation: bufferedio.c:_Py_GetMainConfig
Unexecuted instantiation: textio.c:_Py_GetMainConfig
Unexecuted instantiation: stringio.c:_Py_GetMainConfig
Unexecuted instantiation: itertoolsmodule.c:_Py_GetMainConfig
Unexecuted instantiation: _threadmodule.c:_Py_GetMainConfig
Unexecuted instantiation: _weakref.c:_Py_GetMainConfig
Unexecuted instantiation: _abc.c:_Py_GetMainConfig
Unexecuted instantiation: _functoolsmodule.c:_Py_GetMainConfig
46
47
48
/* Only handle signals on the main thread of the main interpreter. */
49
static inline int
50
_Py_ThreadCanHandleSignals(PyInterpreterState *interp)
51
{
52
    return (_Py_IsMainThread() && 
_Py_IsMainInterpreter(interp)41.1M
);
  Branch (52:13): [True: 71.3k, False: 379]
  Branch (52:35): [True: 71.3k, False: 0]
  Branch (52:13): [True: 41.0M, False: 16.8M]
  Branch (52:35): [True: 41.0M, False: 34.4k]
53
}
Unexecuted instantiation: myreadline.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: tokenizer.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: abstract.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: boolobject.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: bytearrayobject.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: bytesobject.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: call.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: cellobject.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: classobject.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: codeobject.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: complexobject.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: descrobject.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: enumobject.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: exceptions.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: genericaliasobject.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: genobject.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: fileobject.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: floatobject.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: frameobject.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: funcobject.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: iterobject.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: listobject.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: longobject.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: dictobject.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: odictobject.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: memoryobject.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: methodobject.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: moduleobject.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: object.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: setobject.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: sliceobject.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: structseq.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: tupleobject.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: typeobject.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: unicodeobject.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: unionobject.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: weakrefobject.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: _warnings.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: Python-ast.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: ast.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: ast_opt.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: bltinmodule.c:_Py_ThreadCanHandleSignals
ceval.c:_Py_ThreadCanHandleSignals
Line
Count
Source
51
{
52
    return (_Py_IsMainThread() && 
_Py_IsMainInterpreter(interp)71.3k
);
  Branch (52:13): [True: 71.3k, False: 379]
  Branch (52:35): [True: 71.3k, False: 0]
53
}
Unexecuted instantiation: codecs.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: context.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: errors.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: frame.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: hamt.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: import.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: importdl.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: initconfig.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: marshal.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: pylifecycle.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: pystate.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: pythonrun.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: specialize.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: symtable.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: sysmodule.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: thread.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: traceback.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: dynload_shlib.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: main.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: gcmodule.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: atexitmodule.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: faulthandler.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: posixmodule.c:_Py_ThreadCanHandleSignals
signalmodule.c:_Py_ThreadCanHandleSignals
Line
Count
Source
51
{
52
    return (_Py_IsMainThread() && 
_Py_IsMainInterpreter(interp)41.0M
);
  Branch (52:13): [True: 41.0M, False: 16.8M]
  Branch (52:35): [True: 41.0M, False: 34.4k]
53
}
Unexecuted instantiation: _collectionsmodule.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: _iomodule.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: iobase.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: fileio.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: bytesio.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: bufferedio.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: textio.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: stringio.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: itertoolsmodule.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: _threadmodule.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: _weakref.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: _abc.c:_Py_ThreadCanHandleSignals
Unexecuted instantiation: _functoolsmodule.c:_Py_ThreadCanHandleSignals
54
55
56
/* Only execute pending calls on the main thread. */
57
static inline int
58
_Py_ThreadCanHandlePendingCalls(void)
59
{
60
    return _Py_IsMainThread();
61
}
Unexecuted instantiation: myreadline.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: tokenizer.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: abstract.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: boolobject.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: bytearrayobject.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: bytesobject.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: call.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: cellobject.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: classobject.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: codeobject.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: complexobject.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: descrobject.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: enumobject.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: exceptions.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: genericaliasobject.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: genobject.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: fileobject.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: floatobject.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: frameobject.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: funcobject.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: iterobject.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: listobject.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: longobject.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: dictobject.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: odictobject.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: memoryobject.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: methodobject.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: moduleobject.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: object.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: setobject.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: sliceobject.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: structseq.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: tupleobject.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: typeobject.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: unicodeobject.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: unionobject.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: weakrefobject.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: _warnings.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: Python-ast.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: ast.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: ast_opt.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: bltinmodule.c:_Py_ThreadCanHandlePendingCalls
ceval.c:_Py_ThreadCanHandlePendingCalls
Line
Count
Source
59
{
60
    return _Py_IsMainThread();
61
}
Unexecuted instantiation: codecs.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: context.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: errors.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: frame.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: hamt.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: import.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: importdl.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: initconfig.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: marshal.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: pylifecycle.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: pystate.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: pythonrun.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: specialize.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: symtable.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: sysmodule.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: thread.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: traceback.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: dynload_shlib.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: main.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: gcmodule.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: atexitmodule.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: faulthandler.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: posixmodule.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: signalmodule.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: _collectionsmodule.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: _iomodule.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: iobase.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: fileio.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: bytesio.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: bufferedio.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: textio.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: stringio.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: itertoolsmodule.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: _threadmodule.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: _weakref.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: _abc.c:_Py_ThreadCanHandlePendingCalls
Unexecuted instantiation: _functoolsmodule.c:_Py_ThreadCanHandlePendingCalls
62
63
64
/* Variable and macro for in-line access to current thread
65
   and interpreter state */
66
67
static inline PyThreadState*
68
_PyRuntimeState_GetThreadState(_PyRuntimeState *runtime)
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
Unexecuted instantiation: myreadline.c:_PyRuntimeState_GetThreadState
Unexecuted instantiation: tokenizer.c:_PyRuntimeState_GetThreadState
abstract.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
Unexecuted instantiation: boolobject.c:_PyRuntimeState_GetThreadState
bytearrayobject.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
bytesobject.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
call.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
cellobject.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
classobject.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
codeobject.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
complexobject.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
descrobject.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
enumobject.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
exceptions.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
Unexecuted instantiation: genericaliasobject.c:_PyRuntimeState_GetThreadState
genobject.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
fileobject.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
floatobject.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
frameobject.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
funcobject.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
iterobject.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
listobject.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
Unexecuted instantiation: longobject.c:_PyRuntimeState_GetThreadState
dictobject.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
odictobject.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
memoryobject.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
methodobject.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
moduleobject.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
object.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
setobject.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
sliceobject.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
structseq.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
tupleobject.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
typeobject.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
unicodeobject.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
unionobject.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
Unexecuted instantiation: weakrefobject.c:_PyRuntimeState_GetThreadState
_warnings.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
Python-ast.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
ast.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
ast_opt.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
bltinmodule.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
ceval.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
codecs.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
context.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
errors.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
frame.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
hamt.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
import.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
Unexecuted instantiation: importdl.c:_PyRuntimeState_GetThreadState
initconfig.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
Unexecuted instantiation: marshal.c:_PyRuntimeState_GetThreadState
pylifecycle.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
pystate.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
pythonrun.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
specialize.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
symtable.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
sysmodule.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
thread.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
traceback.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
dynload_shlib.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
main.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
gcmodule.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
atexitmodule.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
faulthandler.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
posixmodule.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
signalmodule.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
_collectionsmodule.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
_iomodule.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
Unexecuted instantiation: iobase.c:_PyRuntimeState_GetThreadState
Unexecuted instantiation: fileio.c:_PyRuntimeState_GetThreadState
Unexecuted instantiation: bytesio.c:_PyRuntimeState_GetThreadState
bufferedio.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
textio.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
Unexecuted instantiation: stringio.c:_PyRuntimeState_GetThreadState
itertoolsmodule.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
_threadmodule.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
Unexecuted instantiation: _weakref.c:_PyRuntimeState_GetThreadState
Unexecuted instantiation: _abc.c:_PyRuntimeState_GetThreadState
_functoolsmodule.c:_PyRuntimeState_GetThreadState
Line
Count
Source
69
{
70
    return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->gilstate.tstate_current);
71
}
72
73
/* Get the current Python thread state.
74
75
   Efficient macro reading directly the 'gilstate.tstate_current' atomic
76
   variable. The macro is unsafe: it does not check for error and it can
77
   return NULL.
78
79
   The caller must hold the GIL.
80
81
   See also PyThreadState_Get() and _PyThreadState_UncheckedGet(). */
82
static inline PyThreadState*
83
_PyThreadState_GET(void)
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
Unexecuted instantiation: myreadline.c:_PyThreadState_GET
Unexecuted instantiation: tokenizer.c:_PyThreadState_GET
abstract.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
Unexecuted instantiation: boolobject.c:_PyThreadState_GET
bytearrayobject.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
bytesobject.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
call.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
cellobject.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
classobject.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
codeobject.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
complexobject.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
descrobject.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
enumobject.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
exceptions.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
Unexecuted instantiation: genericaliasobject.c:_PyThreadState_GET
genobject.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
fileobject.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
floatobject.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
frameobject.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
funcobject.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
iterobject.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
listobject.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
Unexecuted instantiation: longobject.c:_PyThreadState_GET
dictobject.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
odictobject.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
memoryobject.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
methodobject.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
moduleobject.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
object.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
setobject.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
sliceobject.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
structseq.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
tupleobject.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
typeobject.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
unicodeobject.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
unionobject.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
Unexecuted instantiation: weakrefobject.c:_PyThreadState_GET
_warnings.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
Python-ast.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
ast.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
ast_opt.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
bltinmodule.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
ceval.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
codecs.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
context.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
errors.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
frame.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
hamt.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
import.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
Unexecuted instantiation: importdl.c:_PyThreadState_GET
initconfig.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
Unexecuted instantiation: marshal.c:_PyThreadState_GET
pylifecycle.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
pystate.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
pythonrun.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
specialize.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
symtable.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
sysmodule.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
thread.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
traceback.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
dynload_shlib.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
main.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
gcmodule.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
atexitmodule.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
faulthandler.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
posixmodule.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
signalmodule.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
_collectionsmodule.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
_iomodule.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
Unexecuted instantiation: iobase.c:_PyThreadState_GET
Unexecuted instantiation: fileio.c:_PyThreadState_GET
Unexecuted instantiation: bytesio.c:_PyThreadState_GET
bufferedio.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
textio.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
Unexecuted instantiation: stringio.c:_PyThreadState_GET
itertoolsmodule.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
_threadmodule.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
Unexecuted instantiation: _weakref.c:_PyThreadState_GET
Unexecuted instantiation: _abc.c:_PyThreadState_GET
_functoolsmodule.c:_PyThreadState_GET
Line
Count
Source
84
{
85
    return _PyRuntimeState_GetThreadState(&_PyRuntime);
86
}
87
88
PyAPI_FUNC(void) _Py_NO_RETURN _Py_FatalError_TstateNULL(const char *func);
89
90
static inline void
91
_Py_EnsureFuncTstateNotNULL(const char *func, PyThreadState *tstate)
92
{
93
    if (tstate == NULL) {
  Branch (93:9): [True: 0, False: 98.6M]
  Branch (93:9): [True: 0, False: 58]
  Branch (93:9): [True: 0, False: 214M]
  Branch (93:9): [True: 0, False: 41.9k]
  Branch (93:9): [True: 0, False: 0]
  Branch (93:9): [True: 0, False: 0]
94
        _Py_FatalError_TstateNULL(func);
95
    }
96
}
Unexecuted instantiation: myreadline.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: tokenizer.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: abstract.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: boolobject.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: bytearrayobject.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: bytesobject.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: call.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: cellobject.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: classobject.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: codeobject.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: complexobject.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: descrobject.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: enumobject.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: exceptions.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: genericaliasobject.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: genobject.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: fileobject.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: floatobject.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: frameobject.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: funcobject.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: iterobject.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: listobject.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: longobject.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: dictobject.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: odictobject.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: memoryobject.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: methodobject.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: moduleobject.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: object.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: setobject.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: sliceobject.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: structseq.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: tupleobject.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: typeobject.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: unicodeobject.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: unionobject.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: weakrefobject.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: _warnings.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: Python-ast.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: ast.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: ast_opt.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: bltinmodule.c:_Py_EnsureFuncTstateNotNULL
ceval.c:_Py_EnsureFuncTstateNotNULL
Line
Count
Source
92
{
93
    if (tstate == NULL) {
  Branch (93:9): [True: 0, False: 98.6M]
94
        _Py_FatalError_TstateNULL(func);
95
    }
96
}
Unexecuted instantiation: codecs.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: context.c:_Py_EnsureFuncTstateNotNULL
errors.c:_Py_EnsureFuncTstateNotNULL
Line
Count
Source
92
{
93
    if (tstate == NULL) {
  Branch (93:9): [True: 0, False: 58]
94
        _Py_FatalError_TstateNULL(func);
95
    }
96
}
Unexecuted instantiation: frame.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: hamt.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: import.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: importdl.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: initconfig.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: marshal.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: pylifecycle.c:_Py_EnsureFuncTstateNotNULL
pystate.c:_Py_EnsureFuncTstateNotNULL
Line
Count
Source
92
{
93
    if (tstate == NULL) {
  Branch (93:9): [True: 0, False: 214M]
94
        _Py_FatalError_TstateNULL(func);
95
    }
96
}
Unexecuted instantiation: pythonrun.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: specialize.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: symtable.c:_Py_EnsureFuncTstateNotNULL
sysmodule.c:_Py_EnsureFuncTstateNotNULL
Line
Count
Source
92
{
93
    if (tstate == NULL) {
  Branch (93:9): [True: 0, False: 41.9k]
94
        _Py_FatalError_TstateNULL(func);
95
    }
96
}
Unexecuted instantiation: thread.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: traceback.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: dynload_shlib.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: main.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: gcmodule.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: atexitmodule.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: faulthandler.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: posixmodule.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: signalmodule.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: _collectionsmodule.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: _iomodule.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: iobase.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: fileio.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: bytesio.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: bufferedio.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: textio.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: stringio.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: itertoolsmodule.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: _threadmodule.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: _weakref.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: _abc.c:_Py_EnsureFuncTstateNotNULL
Unexecuted instantiation: _functoolsmodule.c:_Py_EnsureFuncTstateNotNULL
97
98
// Call Py_FatalError() if tstate is NULL
99
#define _Py_EnsureTstateNotNULL(tstate) \
100
    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
101
102
103
/* Get the current interpreter state.
104
105
   The macro is unsafe: it does not check for error and it can return NULL.
106
107
   The caller must hold the GIL.
108
109
   See also _PyInterpreterState_Get()
110
   and _PyGILState_GetInterpreterStateUnsafe(). */
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
Unexecuted instantiation: myreadline.c:_PyInterpreterState_GET
Unexecuted instantiation: tokenizer.c:_PyInterpreterState_GET
Unexecuted instantiation: abstract.c:_PyInterpreterState_GET
Unexecuted instantiation: boolobject.c:_PyInterpreterState_GET
bytearrayobject.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
bytesobject.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
Unexecuted instantiation: call.c:_PyInterpreterState_GET
cellobject.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
classobject.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
codeobject.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
Unexecuted instantiation: complexobject.c:_PyInterpreterState_GET
descrobject.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
enumobject.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
exceptions.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
Unexecuted instantiation: genericaliasobject.c:_PyInterpreterState_GET
genobject.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
Unexecuted instantiation: fileobject.c:_PyInterpreterState_GET
floatobject.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
frameobject.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
funcobject.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
iterobject.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
listobject.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
Unexecuted instantiation: longobject.c:_PyInterpreterState_GET
dictobject.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
odictobject.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
memoryobject.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
methodobject.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
moduleobject.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
Unexecuted instantiation: object.c:_PyInterpreterState_GET
setobject.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
sliceobject.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
structseq.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
tupleobject.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
typeobject.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
unicodeobject.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
unionobject.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
Unexecuted instantiation: weakrefobject.c:_PyInterpreterState_GET
_warnings.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
Python-ast.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
Unexecuted instantiation: ast.c:_PyInterpreterState_GET
Unexecuted instantiation: ast_opt.c:_PyInterpreterState_GET
bltinmodule.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
ceval.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
codecs.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
context.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
Unexecuted instantiation: errors.c:_PyInterpreterState_GET
frame.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
hamt.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
import.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
Unexecuted instantiation: importdl.c:_PyInterpreterState_GET
initconfig.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
Unexecuted instantiation: marshal.c:_PyInterpreterState_GET
Unexecuted instantiation: pylifecycle.c:_PyInterpreterState_GET
pystate.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
pythonrun.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
specialize.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
Unexecuted instantiation: symtable.c:_PyInterpreterState_GET
sysmodule.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
thread.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
Unexecuted instantiation: traceback.c:_PyInterpreterState_GET
dynload_shlib.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
main.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
gcmodule.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
atexitmodule.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
Unexecuted instantiation: faulthandler.c:_PyInterpreterState_GET
posixmodule.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
Unexecuted instantiation: signalmodule.c:_PyInterpreterState_GET
Unexecuted instantiation: _collectionsmodule.c:_PyInterpreterState_GET
_iomodule.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
Unexecuted instantiation: iobase.c:_PyInterpreterState_GET
Unexecuted instantiation: fileio.c:_PyInterpreterState_GET
Unexecuted instantiation: bytesio.c:_PyInterpreterState_GET
Unexecuted instantiation: bufferedio.c:_PyInterpreterState_GET
textio.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
Unexecuted instantiation: stringio.c:_PyInterpreterState_GET
itertoolsmodule.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
_threadmodule.c:_PyInterpreterState_GET
Line
Count
Source
111
static inline PyInterpreterState* _PyInterpreterState_GET(void) {
112
    PyThreadState *tstate = _PyThreadState_GET();
113
#ifdef Py_DEBUG
114
    _Py_EnsureTstateNotNULL(tstate);
115
#endif
116
    return tstate->interp;
117
}
Unexecuted instantiation: _weakref.c:_PyInterpreterState_GET
Unexecuted instantiation: _abc.c:_PyInterpreterState_GET
Unexecuted instantiation: _functoolsmodule.c:_PyInterpreterState_GET
118
119
120
// PyThreadState functions
121
122
PyAPI_FUNC(void) _PyThreadState_SetCurrent(PyThreadState *tstate);
123
// We keep this around exclusively for stable ABI compatibility.
124
PyAPI_FUNC(void) _PyThreadState_Init(
125
    PyThreadState *tstate);
126
PyAPI_FUNC(void) _PyThreadState_DeleteExcept(
127
    _PyRuntimeState *runtime,
128
    PyThreadState *tstate);
129
130
131
static inline void
132
_PyThreadState_UpdateTracingState(PyThreadState *tstate)
133
{
134
    int use_tracing = (tstate->c_tracefunc != NULL
  Branch (134:24): [True: 4.96k, False: 17.5k]
135
                       || 
tstate->c_profilefunc != NULL17.5k
);
  Branch (135:27): [True: 64, False: 17.4k]
136
    tstate->cframe->use_tracing = (use_tracing ? 
2555.03k
:
017.4k
);
  Branch (136:36): [True: 5.03k, False: 17.4k]
137
}
Unexecuted instantiation: myreadline.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: tokenizer.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: abstract.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: boolobject.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: bytearrayobject.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: bytesobject.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: call.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: cellobject.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: classobject.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: codeobject.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: complexobject.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: descrobject.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: enumobject.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: exceptions.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: genericaliasobject.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: genobject.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: fileobject.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: floatobject.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: frameobject.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: funcobject.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: iterobject.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: listobject.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: longobject.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: dictobject.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: odictobject.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: memoryobject.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: methodobject.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: moduleobject.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: object.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: setobject.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: sliceobject.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: structseq.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: tupleobject.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: typeobject.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: unicodeobject.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: unionobject.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: weakrefobject.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: _warnings.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: Python-ast.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: ast.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: ast_opt.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: bltinmodule.c:_PyThreadState_UpdateTracingState
ceval.c:_PyThreadState_UpdateTracingState
Line
Count
Source
133
{
134
    int use_tracing = (tstate->c_tracefunc != NULL
  Branch (134:24): [True: 4.96k, False: 17.5k]
135
                       || 
tstate->c_profilefunc != NULL17.5k
);
  Branch (135:27): [True: 64, False: 17.4k]
136
    tstate->cframe->use_tracing = (use_tracing ? 
2555.03k
:
017.4k
);
  Branch (136:36): [True: 5.03k, False: 17.4k]
137
}
Unexecuted instantiation: codecs.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: context.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: errors.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: frame.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: hamt.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: import.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: importdl.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: initconfig.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: marshal.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: pylifecycle.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: pystate.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: pythonrun.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: specialize.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: symtable.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: sysmodule.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: thread.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: traceback.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: dynload_shlib.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: main.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: gcmodule.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: atexitmodule.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: faulthandler.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: posixmodule.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: signalmodule.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: _collectionsmodule.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: _iomodule.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: iobase.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: fileio.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: bytesio.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: bufferedio.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: textio.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: stringio.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: itertoolsmodule.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: _threadmodule.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: _weakref.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: _abc.c:_PyThreadState_UpdateTracingState
Unexecuted instantiation: _functoolsmodule.c:_PyThreadState_UpdateTracingState
138
139
140
/* Other */
141
142
PyAPI_FUNC(PyThreadState *) _PyThreadState_Swap(
143
    struct _gilstate_runtime_state *gilstate,
144
    PyThreadState *newts);
145
146
PyAPI_FUNC(PyStatus) _PyInterpreterState_Enable(_PyRuntimeState *runtime);
147
148
#ifdef HAVE_FORK
149
extern PyStatus _PyInterpreterState_DeleteExceptMain(_PyRuntimeState *runtime);
150
extern PyStatus _PyGILState_Reinit(_PyRuntimeState *runtime);
151
extern void _PySignal_AfterFork(void);
152
#endif
153
154
155
PyAPI_FUNC(int) _PyState_AddModule(
156
    PyThreadState *tstate,
157
    PyObject* module,
158
    PyModuleDef* def);
159
160
161
PyAPI_FUNC(int) _PyOS_InterruptOccurred(PyThreadState *tstate);
162
163
#ifdef __cplusplus
164
}
165
#endif
166
#endif /* !Py_INTERNAL_PYSTATE_H */