Coverage Report

Created: 2026-04-20 06:11

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/cpython/Include/object.h
Line
Count
Source
1
#ifndef Py_OBJECT_H
2
#define Py_OBJECT_H
3
#ifdef __cplusplus
4
extern "C" {
5
#endif
6
7
8
/* Object and type object interface */
9
10
/*
11
Objects are structures allocated on the heap.  Special rules apply to
12
the use of objects to ensure they are properly garbage-collected.
13
Objects are never allocated statically or on the stack; they must be
14
accessed through special macros and functions only.  (Type objects are
15
exceptions to the first rule; the standard types are represented by
16
statically initialized type objects, although work on type/class unification
17
for Python 2.2 made it possible to have heap-allocated type objects too).
18
19
An object has a 'reference count' that is increased or decreased when a
20
pointer to the object is copied or deleted; when the reference count
21
reaches zero there are no references to the object left and it can be
22
removed from the heap.
23
24
An object has a 'type' that determines what it represents and what kind
25
of data it contains.  An object's type is fixed when it is created.
26
Types themselves are represented as objects; an object contains a
27
pointer to the corresponding type object.  The type itself has a type
28
pointer pointing to the object representing the type 'type', which
29
contains a pointer to itself!.
30
31
Objects do not float around in memory; once allocated an object keeps
32
the same size and address.  Objects that must hold variable-size data
33
can contain pointers to variable-size parts of the object.  Not all
34
objects of the same type have the same size; but the size cannot change
35
after allocation.  (These restrictions are made so a reference to an
36
object can be simply a pointer -- moving an object would require
37
updating all the pointers, and changing an object's size would require
38
moving it if there was another object right next to it.)
39
40
Objects are always accessed through pointers of the type 'PyObject *'.
41
The type 'PyObject' is a structure that only contains the reference count
42
and the type pointer.  The actual memory allocated for an object
43
contains other data that can only be accessed after casting the pointer
44
to a pointer to a longer structure type.  This longer type must start
45
with the reference count and type fields; the macro PyObject_HEAD should be
46
used for this (to accommodate for future changes).  The implementation
47
of a particular object type can cast the object pointer to the proper
48
type and back.
49
50
A standard interface exists for objects that contain an array of items
51
whose size is determined when the object is allocated.
52
*/
53
54
/* Py_DEBUG implies Py_REF_DEBUG. */
55
#if defined(Py_DEBUG) && !defined(Py_REF_DEBUG)
56
#  define Py_REF_DEBUG
57
#endif
58
59
#if defined(_Py_OPAQUE_PYOBJECT) && !defined(Py_LIMITED_API)
60
#   error "_Py_OPAQUE_PYOBJECT only makes sense with Py_LIMITED_API"
61
#endif
62
63
#ifndef _Py_OPAQUE_PYOBJECT
64
/* PyObject_HEAD defines the initial segment of every PyObject. */
65
#define PyObject_HEAD                   PyObject ob_base;
66
67
// Kept for backward compatibility. It was needed by Py_TRACE_REFS build.
68
#define _PyObject_EXTRA_INIT
69
70
/* Make all uses of PyObject_HEAD_INIT immortal.
71
 *
72
 * Statically allocated objects might be shared between
73
 * interpreters, so must be marked as immortal.
74
 *
75
 * Before changing this, see the check in PyModuleDef_Init().
76
 */
77
#if defined(Py_GIL_DISABLED)
78
#define PyObject_HEAD_INIT(type)    \
79
    {                               \
80
        0,                          \
81
        _Py_STATICALLY_ALLOCATED_FLAG, \
82
        { 0 },                      \
83
        0,                          \
84
        _Py_IMMORTAL_REFCNT_LOCAL,  \
85
        0,                          \
86
        (type),                     \
87
    },
88
#else
89
#define PyObject_HEAD_INIT(type)    \
90
257M
    {                               \
91
257M
        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
92
257M
        (type)                      \
93
257M
    },
94
#endif
95
96
#define PyVarObject_HEAD_INIT(type, size) \
97
257M
    {                                     \
98
257M
        PyObject_HEAD_INIT(type)          \
99
257M
        (size)                            \
100
257M
    },
101
102
/* PyObject_VAR_HEAD defines the initial segment of all variable-size
103
 * container objects.  These end with a declaration of an array with 1
104
 * element, but enough space is malloc'ed so that the array actually
105
 * has room for ob_size elements.  Note that ob_size is an element count,
106
 * not necessarily a byte count.
107
 */
108
#define PyObject_VAR_HEAD      PyVarObject ob_base;
109
#endif // !defined(_Py_OPAQUE_PYOBJECT)
110
111
#define Py_INVALID_SIZE (Py_ssize_t)-1
112
113
/* PyObjects are given a minimum alignment so that the least significant bits
114
 * of an object pointer become available for other purposes.
115
 * This must be an integer literal with the value (1 << _PyGC_PREV_SHIFT), number of bytes.
116
 */
117
#define _PyObject_MIN_ALIGNMENT 4
118
119
/* Nothing is actually declared to be a PyObject, but every pointer to
120
 * a Python object can be cast to a PyObject*.  This is inheritance built
121
 * by hand.  Similarly every pointer to a variable-size Python object can,
122
 * in addition, be cast to PyVarObject*.
123
 */
124
#ifdef _Py_OPAQUE_PYOBJECT
125
  /* PyObject is opaque */
126
#elif !defined(Py_GIL_DISABLED)
127
struct _object {
128
    _Py_ANONYMOUS union {
129
#if SIZEOF_VOID_P > 4
130
        int64_t ob_refcnt_full; /* This field is needed for efficient initialization with Clang on ARM */
131
        struct {
132
#  if PY_BIG_ENDIAN
133
            uint16_t ob_flags;
134
            uint16_t ob_overflow;
135
            uint32_t ob_refcnt;
136
#  else
137
            uint32_t ob_refcnt;
138
            uint16_t ob_overflow;
139
            uint16_t ob_flags;
140
#  endif
141
        };
142
#else
143
        Py_ssize_t ob_refcnt;  // part of stable ABI; do not change
144
#endif
145
        _Py_ALIGNED_DEF(_PyObject_MIN_ALIGNMENT, char) _aligner;
146
    };
147
148
    PyTypeObject *ob_type;  // part of stable ABI; do not change
149
};
150
#else
151
// Objects that are not owned by any thread use a thread id (tid) of zero.
152
// This includes both immortal objects and objects whose reference count
153
// fields have been merged.
154
#define _Py_UNOWNED_TID             0
155
156
struct _object {
157
    // ob_tid stores the thread id (or zero). It is also used by the GC and the
158
    // trashcan mechanism as a linked list pointer and by the GC to store the
159
    // computed "gc_refs" refcount.
160
    _Py_ALIGNED_DEF(_PyObject_MIN_ALIGNMENT, uintptr_t) ob_tid;
161
    uint16_t ob_flags;
162
    PyMutex ob_mutex;           // per-object lock
163
    uint8_t ob_gc_bits;         // gc-related state
164
    uint32_t ob_ref_local;      // local reference count
165
    Py_ssize_t ob_ref_shared;   // shared (atomic) reference count
166
    PyTypeObject *ob_type;
167
};
168
#endif // !defined(_Py_OPAQUE_PYOBJECT)
169
170
/* Cast argument to PyObject* type. */
171
238G
#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
172
173
#ifndef _Py_OPAQUE_PYOBJECT
174
struct PyVarObject {
175
    PyObject ob_base;
176
    Py_ssize_t ob_size; // Number of items in variable part. Part of stable ABI
177
};
178
#endif
179
typedef struct PyVarObject PyVarObject;
180
181
/* Cast argument to PyVarObject* type. */
182
15.9G
#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
183
184
185
// Test if the 'x' object is the 'y' object, the same as "x is y" in Python.
186
PyAPI_FUNC(int) Py_Is(PyObject *x, PyObject *y);
187
593M
#define Py_Is(x, y) ((x) == (y))
188
189
PyAPI_DATA(PyTypeObject) PyLong_Type;
190
PyAPI_DATA(PyTypeObject) PyBool_Type;
191
192
/* Definitions for the stable ABI */
193
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= _Py_PACK_VERSION(3, 14)
194
PyAPI_FUNC(PyTypeObject*) Py_TYPE(PyObject *ob);
195
#endif
196
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= _Py_PACK_VERSION(3, 15)
197
PyAPI_FUNC(Py_ssize_t) Py_SIZE(PyObject *ob);
198
PyAPI_FUNC(int) Py_IS_TYPE(PyObject *ob, PyTypeObject *type);
199
PyAPI_FUNC(void) Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size);
200
#endif
201
202
#ifndef _Py_OPAQUE_PYOBJECT
203
204
static inline void
205
Py_SET_TYPE(PyObject *ob, PyTypeObject *type)
206
1.47G
{
207
1.47G
    ob->ob_type = type;
208
1.47G
}
bytesobject.c:Py_SET_TYPE
Line
Count
Source
206
155M
{
207
155M
    ob->ob_type = type;
208
155M
}
Unexecuted instantiation: call.c:Py_SET_TYPE
Unexecuted instantiation: exceptions.c:Py_SET_TYPE
Unexecuted instantiation: genericaliasobject.c:Py_SET_TYPE
floatobject.c:Py_SET_TYPE
Line
Count
Source
206
1.44M
{
207
1.44M
    ob->ob_type = type;
208
1.44M
}
Unexecuted instantiation: listobject.c:Py_SET_TYPE
longobject.c:Py_SET_TYPE
Line
Count
Source
206
82.4M
{
207
82.4M
    ob->ob_type = type;
208
82.4M
}
Unexecuted instantiation: dictobject.c:Py_SET_TYPE
Unexecuted instantiation: memoryobject.c:Py_SET_TYPE
moduleobject.c:Py_SET_TYPE
Line
Count
Source
206
1.10k
{
207
1.10k
    ob->ob_type = type;
208
1.10k
}
object.c:Py_SET_TYPE
Line
Count
Source
206
3.11M
{
207
3.11M
    ob->ob_type = type;
208
3.11M
}
Unexecuted instantiation: obmalloc.c:Py_SET_TYPE
Unexecuted instantiation: picklebufobject.c:Py_SET_TYPE
Unexecuted instantiation: rangeobject.c:Py_SET_TYPE
Unexecuted instantiation: setobject.c:Py_SET_TYPE
Unexecuted instantiation: sliceobject.c:Py_SET_TYPE
structseq.c:Py_SET_TYPE
Line
Count
Source
206
288
{
207
288
    ob->ob_type = type;
208
288
}
Unexecuted instantiation: templateobject.c:Py_SET_TYPE
Unexecuted instantiation: tupleobject.c:Py_SET_TYPE
typeobject.c:Py_SET_TYPE
Line
Count
Source
206
174M
{
207
174M
    ob->ob_type = type;
208
174M
}
Unexecuted instantiation: typevarobject.c:Py_SET_TYPE
Unexecuted instantiation: unicode_format.c:Py_SET_TYPE
Unexecuted instantiation: unicode_formatter.c:Py_SET_TYPE
Unexecuted instantiation: unicode_writer.c:Py_SET_TYPE
Unexecuted instantiation: unicodectype.c:Py_SET_TYPE
unicodeobject.c:Py_SET_TYPE
Line
Count
Source
206
546M
{
207
546M
    ob->ob_type = type;
208
546M
}
Unexecuted instantiation: unionobject.c:Py_SET_TYPE
Unexecuted instantiation: weakrefobject.c:Py_SET_TYPE
Unexecuted instantiation: _warnings.c:Py_SET_TYPE
Unexecuted instantiation: bltinmodule.c:Py_SET_TYPE
Unexecuted instantiation: ceval.c:Py_SET_TYPE
Unexecuted instantiation: codecs.c:Py_SET_TYPE
Unexecuted instantiation: codegen.c:Py_SET_TYPE
Unexecuted instantiation: compile.c:Py_SET_TYPE
Unexecuted instantiation: context.c:Py_SET_TYPE
Unexecuted instantiation: errors.c:Py_SET_TYPE
Unexecuted instantiation: flowgraph.c:Py_SET_TYPE
Unexecuted instantiation: frame.c:Py_SET_TYPE
Unexecuted instantiation: future.c:Py_SET_TYPE
gc.c:Py_SET_TYPE
Line
Count
Source
206
509M
{
207
509M
    ob->ob_type = type;
208
509M
}
Unexecuted instantiation: gc_gil.c:Py_SET_TYPE
Unexecuted instantiation: getargs.c:Py_SET_TYPE
Unexecuted instantiation: ceval_gil.c:Py_SET_TYPE
Unexecuted instantiation: hamt.c:Py_SET_TYPE
Unexecuted instantiation: hashtable.c:Py_SET_TYPE
Unexecuted instantiation: import.c:Py_SET_TYPE
Unexecuted instantiation: importdl.c:Py_SET_TYPE
Unexecuted instantiation: initconfig.c:Py_SET_TYPE
Unexecuted instantiation: instrumentation.c:Py_SET_TYPE
Unexecuted instantiation: instruction_sequence.c:Py_SET_TYPE
Unexecuted instantiation: intrinsics.c:Py_SET_TYPE
Unexecuted instantiation: legacy_tracing.c:Py_SET_TYPE
Unexecuted instantiation: lock.c:Py_SET_TYPE
Unexecuted instantiation: marshal.c:Py_SET_TYPE
Unexecuted instantiation: modsupport.c:Py_SET_TYPE
Unexecuted instantiation: mysnprintf.c:Py_SET_TYPE
Unexecuted instantiation: parking_lot.c:Py_SET_TYPE
Unexecuted instantiation: preconfig.c:Py_SET_TYPE
Unexecuted instantiation: pyarena.c:Py_SET_TYPE
Unexecuted instantiation: pyctype.c:Py_SET_TYPE
Unexecuted instantiation: pyhash.c:Py_SET_TYPE
Unexecuted instantiation: pylifecycle.c:Py_SET_TYPE
Unexecuted instantiation: pymath.c:Py_SET_TYPE
Unexecuted instantiation: pystate.c:Py_SET_TYPE
Unexecuted instantiation: pythonrun.c:Py_SET_TYPE
Unexecuted instantiation: pytime.c:Py_SET_TYPE
Unexecuted instantiation: qsbr.c:Py_SET_TYPE
Unexecuted instantiation: bootstrap_hash.c:Py_SET_TYPE
Unexecuted instantiation: specialize.c:Py_SET_TYPE
Unexecuted instantiation: structmember.c:Py_SET_TYPE
Unexecuted instantiation: symtable.c:Py_SET_TYPE
Unexecuted instantiation: sysmodule.c:Py_SET_TYPE
Unexecuted instantiation: thread.c:Py_SET_TYPE
Unexecuted instantiation: traceback.c:Py_SET_TYPE
Unexecuted instantiation: tracemalloc.c:Py_SET_TYPE
Unexecuted instantiation: getopt.c:Py_SET_TYPE
Unexecuted instantiation: pystrcmp.c:Py_SET_TYPE
Unexecuted instantiation: pystrtod.c:Py_SET_TYPE
Unexecuted instantiation: pystrhex.c:Py_SET_TYPE
Unexecuted instantiation: dtoa.c:Py_SET_TYPE
Unexecuted instantiation: fileutils.c:Py_SET_TYPE
Unexecuted instantiation: suggestions.c:Py_SET_TYPE
Unexecuted instantiation: perf_trampoline.c:Py_SET_TYPE
Unexecuted instantiation: perf_jit_trampoline.c:Py_SET_TYPE
Unexecuted instantiation: remote_debugging.c:Py_SET_TYPE
Unexecuted instantiation: dynload_shlib.c:Py_SET_TYPE
Unexecuted instantiation: config.c:Py_SET_TYPE
Unexecuted instantiation: gcmodule.c:Py_SET_TYPE
Unexecuted instantiation: _asynciomodule.c:Py_SET_TYPE
Unexecuted instantiation: atexitmodule.c:Py_SET_TYPE
Unexecuted instantiation: faulthandler.c:Py_SET_TYPE
Unexecuted instantiation: posixmodule.c:Py_SET_TYPE
Unexecuted instantiation: signalmodule.c:Py_SET_TYPE
Unexecuted instantiation: _tracemalloc.c:Py_SET_TYPE
Unexecuted instantiation: _suggestions.c:Py_SET_TYPE
_datetimemodule.c:Py_SET_TYPE
Line
Count
Source
206
10.9k
{
207
10.9k
    ob->ob_type = type;
208
10.9k
}
Unexecuted instantiation: _codecsmodule.c:Py_SET_TYPE
Unexecuted instantiation: _collectionsmodule.c:Py_SET_TYPE
Unexecuted instantiation: errnomodule.c:Py_SET_TYPE
Unexecuted instantiation: _iomodule.c:Py_SET_TYPE
Unexecuted instantiation: iobase.c:Py_SET_TYPE
Unexecuted instantiation: fileio.c:Py_SET_TYPE
Unexecuted instantiation: bytesio.c:Py_SET_TYPE
Unexecuted instantiation: bufferedio.c:Py_SET_TYPE
Unexecuted instantiation: textio.c:Py_SET_TYPE
Unexecuted instantiation: stringio.c:Py_SET_TYPE
itertoolsmodule.c:Py_SET_TYPE
Line
Count
Source
206
33
{
207
33
    ob->ob_type = type;
208
33
}
Unexecuted instantiation: sre.c:Py_SET_TYPE
Unexecuted instantiation: _sysconfig.c:Py_SET_TYPE
Unexecuted instantiation: _threadmodule.c:Py_SET_TYPE
Unexecuted instantiation: timemodule.c:Py_SET_TYPE
Unexecuted instantiation: _typesmodule.c:Py_SET_TYPE
Unexecuted instantiation: _typingmodule.c:Py_SET_TYPE
Unexecuted instantiation: _weakref.c:Py_SET_TYPE
Unexecuted instantiation: _abc.c:Py_SET_TYPE
Unexecuted instantiation: _functoolsmodule.c:Py_SET_TYPE
Unexecuted instantiation: _localemodule.c:Py_SET_TYPE
Unexecuted instantiation: _opcode.c:Py_SET_TYPE
Unexecuted instantiation: _operator.c:Py_SET_TYPE
Unexecuted instantiation: _stat.c:Py_SET_TYPE
Unexecuted instantiation: symtablemodule.c:Py_SET_TYPE
Unexecuted instantiation: pwdmodule.c:Py_SET_TYPE
Unexecuted instantiation: getpath.c:Py_SET_TYPE
Unexecuted instantiation: frozen.c:Py_SET_TYPE
Unexecuted instantiation: getbuildinfo.c:Py_SET_TYPE
Unexecuted instantiation: peg_api.c:Py_SET_TYPE
Unexecuted instantiation: file_tokenizer.c:Py_SET_TYPE
Unexecuted instantiation: helpers.c:Py_SET_TYPE
Unexecuted instantiation: myreadline.c:Py_SET_TYPE
Unexecuted instantiation: abstract.c:Py_SET_TYPE
Unexecuted instantiation: boolobject.c:Py_SET_TYPE
Unexecuted instantiation: bytes_methods.c:Py_SET_TYPE
Unexecuted instantiation: bytearrayobject.c:Py_SET_TYPE
Unexecuted instantiation: capsule.c:Py_SET_TYPE
Unexecuted instantiation: cellobject.c:Py_SET_TYPE
Unexecuted instantiation: classobject.c:Py_SET_TYPE
Unexecuted instantiation: codeobject.c:Py_SET_TYPE
complexobject.c:Py_SET_TYPE
Line
Count
Source
206
2.42k
{
207
2.42k
    ob->ob_type = type;
208
2.42k
}
Unexecuted instantiation: descrobject.c:Py_SET_TYPE
Unexecuted instantiation: enumobject.c:Py_SET_TYPE
Unexecuted instantiation: genobject.c:Py_SET_TYPE
Unexecuted instantiation: fileobject.c:Py_SET_TYPE
Unexecuted instantiation: frameobject.c:Py_SET_TYPE
Unexecuted instantiation: funcobject.c:Py_SET_TYPE
Unexecuted instantiation: interpolationobject.c:Py_SET_TYPE
Unexecuted instantiation: iterobject.c:Py_SET_TYPE
Unexecuted instantiation: lazyimportobject.c:Py_SET_TYPE
Unexecuted instantiation: odictobject.c:Py_SET_TYPE
Unexecuted instantiation: methodobject.c:Py_SET_TYPE
Unexecuted instantiation: namespaceobject.c:Py_SET_TYPE
Unexecuted instantiation: _contextvars.c:Py_SET_TYPE
Unexecuted instantiation: Python-ast.c:Py_SET_TYPE
Unexecuted instantiation: Python-tokenize.c:Py_SET_TYPE
Unexecuted instantiation: asdl.c:Py_SET_TYPE
Unexecuted instantiation: assemble.c:Py_SET_TYPE
Unexecuted instantiation: ast.c:Py_SET_TYPE
Unexecuted instantiation: ast_preprocess.c:Py_SET_TYPE
Unexecuted instantiation: ast_unparse.c:Py_SET_TYPE
Unexecuted instantiation: critical_section.c:Py_SET_TYPE
Unexecuted instantiation: crossinterp.c:Py_SET_TYPE
Unexecuted instantiation: getcopyright.c:Py_SET_TYPE
Unexecuted instantiation: getplatform.c:Py_SET_TYPE
Unexecuted instantiation: getversion.c:Py_SET_TYPE
Unexecuted instantiation: optimizer.c:Py_SET_TYPE
Unexecuted instantiation: pathconfig.c:Py_SET_TYPE
Unexecuted instantiation: pegen.c:Py_SET_TYPE
Unexecuted instantiation: pegen_errors.c:Py_SET_TYPE
Unexecuted instantiation: parser.c:Py_SET_TYPE
Unexecuted instantiation: buffer.c:Py_SET_TYPE
Unexecuted instantiation: lexer.c:Py_SET_TYPE
Unexecuted instantiation: state.c:Py_SET_TYPE
Unexecuted instantiation: readline_tokenizer.c:Py_SET_TYPE
Unexecuted instantiation: string_tokenizer.c:Py_SET_TYPE
Unexecuted instantiation: utf8_tokenizer.c:Py_SET_TYPE
Unexecuted instantiation: getcompiler.c:Py_SET_TYPE
Unexecuted instantiation: mystrtoul.c:Py_SET_TYPE
Unexecuted instantiation: token.c:Py_SET_TYPE
Unexecuted instantiation: action_helpers.c:Py_SET_TYPE
Unexecuted instantiation: string_parser.c:Py_SET_TYPE
209
210
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < _Py_PACK_VERSION(3, 11)
211
// Non-limited API & limited API 3.11 & below: use static inline functions and
212
// use _PyObject_CAST so that users don't need their own casts
213
40.9G
#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
214
14.2G
#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
215
22.7G
#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
216
1.53G
#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
217
1.47G
#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
218
#elif Py_LIMITED_API+0 < _Py_PACK_VERSION(3, 15)
219
// Limited API 3.11-3.14: use static inline functions, without casts
220
#  define Py_SIZE(ob) _Py_SIZE_impl(ob)
221
#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl((ob), (type))
222
#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl((ob), (size))
223
#  if Py_LIMITED_API+0 < _Py_PACK_VERSION(3, 14)
224
//   Py_TYPE() is static inline only on Limited API 3.13 and below
225
#    define Py_TYPE(ob) _Py_TYPE_impl(ob)
226
#  endif
227
#else
228
// Limited API 3.15+: use function calls
229
#endif
230
231
static inline
232
PyTypeObject* _Py_TYPE_impl(PyObject *ob)
233
52.8G
{
234
52.8G
    return ob->ob_type;
235
52.8G
}
bytesobject.c:_Py_TYPE_impl
Line
Count
Source
233
468M
{
234
468M
    return ob->ob_type;
235
468M
}
call.c:_Py_TYPE_impl
Line
Count
Source
233
734M
{
234
734M
    return ob->ob_type;
235
734M
}
exceptions.c:_Py_TYPE_impl
Line
Count
Source
233
124M
{
234
124M
    return ob->ob_type;
235
124M
}
genericaliasobject.c:_Py_TYPE_impl
Line
Count
Source
233
4.16k
{
234
4.16k
    return ob->ob_type;
235
4.16k
}
floatobject.c:_Py_TYPE_impl
Line
Count
Source
233
33.7M
{
234
33.7M
    return ob->ob_type;
235
33.7M
}
listobject.c:_Py_TYPE_impl
Line
Count
Source
233
727M
{
234
727M
    return ob->ob_type;
235
727M
}
longobject.c:_Py_TYPE_impl
Line
Count
Source
233
2.04G
{
234
2.04G
    return ob->ob_type;
235
2.04G
}
dictobject.c:_Py_TYPE_impl
Line
Count
Source
233
6.28G
{
234
6.28G
    return ob->ob_type;
235
6.28G
}
memoryobject.c:_Py_TYPE_impl
Line
Count
Source
233
311k
{
234
311k
    return ob->ob_type;
235
311k
}
moduleobject.c:_Py_TYPE_impl
Line
Count
Source
233
35.2M
{
234
35.2M
    return ob->ob_type;
235
35.2M
}
object.c:_Py_TYPE_impl
Line
Count
Source
233
9.06G
{
234
9.06G
    return ob->ob_type;
235
9.06G
}
Unexecuted instantiation: obmalloc.c:_Py_TYPE_impl
Unexecuted instantiation: picklebufobject.c:_Py_TYPE_impl
rangeobject.c:_Py_TYPE_impl
Line
Count
Source
233
5.64M
{
234
5.64M
    return ob->ob_type;
235
5.64M
}
setobject.c:_Py_TYPE_impl
Line
Count
Source
233
484M
{
234
484M
    return ob->ob_type;
235
484M
}
sliceobject.c:_Py_TYPE_impl
Line
Count
Source
233
1.88M
{
234
1.88M
    return ob->ob_type;
235
1.88M
}
structseq.c:_Py_TYPE_impl
Line
Count
Source
233
1.06M
{
234
1.06M
    return ob->ob_type;
235
1.06M
}
templateobject.c:_Py_TYPE_impl
Line
Count
Source
233
24
{
234
24
    return ob->ob_type;
235
24
}
tupleobject.c:_Py_TYPE_impl
Line
Count
Source
233
3.59G
{
234
3.59G
    return ob->ob_type;
235
3.59G
}
typeobject.c:_Py_TYPE_impl
Line
Count
Source
233
1.83G
{
234
1.83G
    return ob->ob_type;
235
1.83G
}
typevarobject.c:_Py_TYPE_impl
Line
Count
Source
233
512k
{
234
512k
    return ob->ob_type;
235
512k
}
unicode_format.c:_Py_TYPE_impl
Line
Count
Source
233
90.1M
{
234
90.1M
    return ob->ob_type;
235
90.1M
}
unicode_formatter.c:_Py_TYPE_impl
Line
Count
Source
233
16.4M
{
234
16.4M
    return ob->ob_type;
235
16.4M
}
unicode_writer.c:_Py_TYPE_impl
Line
Count
Source
233
13.6M
{
234
13.6M
    return ob->ob_type;
235
13.6M
}
Unexecuted instantiation: unicodectype.c:_Py_TYPE_impl
unicodeobject.c:_Py_TYPE_impl
Line
Count
Source
233
2.46G
{
234
2.46G
    return ob->ob_type;
235
2.46G
}
unionobject.c:_Py_TYPE_impl
Line
Count
Source
233
6.78k
{
234
6.78k
    return ob->ob_type;
235
6.78k
}
weakrefobject.c:_Py_TYPE_impl
Line
Count
Source
233
158M
{
234
158M
    return ob->ob_type;
235
158M
}
_warnings.c:_Py_TYPE_impl
Line
Count
Source
233
32.1M
{
234
32.1M
    return ob->ob_type;
235
32.1M
}
bltinmodule.c:_Py_TYPE_impl
Line
Count
Source
233
2.39G
{
234
2.39G
    return ob->ob_type;
235
2.39G
}
ceval.c:_Py_TYPE_impl
Line
Count
Source
233
12.5G
{
234
12.5G
    return ob->ob_type;
235
12.5G
}
codecs.c:_Py_TYPE_impl
Line
Count
Source
233
11.4M
{
234
11.4M
    return ob->ob_type;
235
11.4M
}
codegen.c:_Py_TYPE_impl
Line
Count
Source
233
334
{
234
334
    return ob->ob_type;
235
334
}
compile.c:_Py_TYPE_impl
Line
Count
Source
233
113k
{
234
113k
    return ob->ob_type;
235
113k
}
context.c:_Py_TYPE_impl
Line
Count
Source
233
263k
{
234
263k
    return ob->ob_type;
235
263k
}
errors.c:_Py_TYPE_impl
Line
Count
Source
233
551M
{
234
551M
    return ob->ob_type;
235
551M
}
flowgraph.c:_Py_TYPE_impl
Line
Count
Source
233
43.4k
{
234
43.4k
    return ob->ob_type;
235
43.4k
}
Unexecuted instantiation: frame.c:_Py_TYPE_impl
Unexecuted instantiation: future.c:_Py_TYPE_impl
gc.c:_Py_TYPE_impl
Line
Count
Source
233
2.30G
{
234
2.30G
    return ob->ob_type;
235
2.30G
}
Unexecuted instantiation: gc_gil.c:_Py_TYPE_impl
getargs.c:_Py_TYPE_impl
Line
Count
Source
233
32.7M
{
234
32.7M
    return ob->ob_type;
235
32.7M
}
Unexecuted instantiation: ceval_gil.c:_Py_TYPE_impl
Unexecuted instantiation: hamt.c:_Py_TYPE_impl
Unexecuted instantiation: hashtable.c:_Py_TYPE_impl
import.c:_Py_TYPE_impl
Line
Count
Source
233
4.26M
{
234
4.26M
    return ob->ob_type;
235
4.26M
}
importdl.c:_Py_TYPE_impl
Line
Count
Source
233
2.33k
{
234
2.33k
    return ob->ob_type;
235
2.33k
}
initconfig.c:_Py_TYPE_impl
Line
Count
Source
233
1.00k
{
234
1.00k
    return ob->ob_type;
235
1.00k
}
Unexecuted instantiation: instrumentation.c:_Py_TYPE_impl
Unexecuted instantiation: instruction_sequence.c:_Py_TYPE_impl
intrinsics.c:_Py_TYPE_impl
Line
Count
Source
233
71.8k
{
234
71.8k
    return ob->ob_type;
235
71.8k
}
Unexecuted instantiation: legacy_tracing.c:_Py_TYPE_impl
Unexecuted instantiation: lock.c:_Py_TYPE_impl
marshal.c:_Py_TYPE_impl
Line
Count
Source
233
292k
{
234
292k
    return ob->ob_type;
235
292k
}
modsupport.c:_Py_TYPE_impl
Line
Count
Source
233
16.0M
{
234
16.0M
    return ob->ob_type;
235
16.0M
}
Unexecuted instantiation: mysnprintf.c:_Py_TYPE_impl
Unexecuted instantiation: parking_lot.c:_Py_TYPE_impl
Unexecuted instantiation: preconfig.c:_Py_TYPE_impl
Unexecuted instantiation: pyarena.c:_Py_TYPE_impl
Unexecuted instantiation: pyctype.c:_Py_TYPE_impl
Unexecuted instantiation: pyhash.c:_Py_TYPE_impl
pylifecycle.c:_Py_TYPE_impl
Line
Count
Source
233
36
{
234
36
    return ob->ob_type;
235
36
}
Unexecuted instantiation: pymath.c:_Py_TYPE_impl
Unexecuted instantiation: pystate.c:_Py_TYPE_impl
pythonrun.c:_Py_TYPE_impl
Line
Count
Source
233
120k
{
234
120k
    return ob->ob_type;
235
120k
}
Unexecuted instantiation: pytime.c:_Py_TYPE_impl
Unexecuted instantiation: qsbr.c:_Py_TYPE_impl
Unexecuted instantiation: bootstrap_hash.c:_Py_TYPE_impl
specialize.c:_Py_TYPE_impl
Line
Count
Source
233
209M
{
234
209M
    return ob->ob_type;
235
209M
}
structmember.c:_Py_TYPE_impl
Line
Count
Source
233
5
{
234
5
    return ob->ob_type;
235
5
}
symtable.c:_Py_TYPE_impl
Line
Count
Source
233
75.8k
{
234
75.8k
    return ob->ob_type;
235
75.8k
}
sysmodule.c:_Py_TYPE_impl
Line
Count
Source
233
1.77M
{
234
1.77M
    return ob->ob_type;
235
1.77M
}
Unexecuted instantiation: thread.c:_Py_TYPE_impl
traceback.c:_Py_TYPE_impl
Line
Count
Source
233
90.8M
{
234
90.8M
    return ob->ob_type;
235
90.8M
}
Unexecuted instantiation: tracemalloc.c:_Py_TYPE_impl
Unexecuted instantiation: getopt.c:_Py_TYPE_impl
Unexecuted instantiation: pystrcmp.c:_Py_TYPE_impl
Unexecuted instantiation: pystrtod.c:_Py_TYPE_impl
Unexecuted instantiation: pystrhex.c:_Py_TYPE_impl
Unexecuted instantiation: dtoa.c:_Py_TYPE_impl
Unexecuted instantiation: fileutils.c:_Py_TYPE_impl
Unexecuted instantiation: suggestions.c:_Py_TYPE_impl
Unexecuted instantiation: perf_trampoline.c:_Py_TYPE_impl
Unexecuted instantiation: perf_jit_trampoline.c:_Py_TYPE_impl
Unexecuted instantiation: remote_debugging.c:_Py_TYPE_impl
Unexecuted instantiation: dynload_shlib.c:_Py_TYPE_impl
Unexecuted instantiation: config.c:_Py_TYPE_impl
Unexecuted instantiation: gcmodule.c:_Py_TYPE_impl
Unexecuted instantiation: _asynciomodule.c:_Py_TYPE_impl
Unexecuted instantiation: atexitmodule.c:_Py_TYPE_impl
Unexecuted instantiation: faulthandler.c:_Py_TYPE_impl
posixmodule.c:_Py_TYPE_impl
Line
Count
Source
233
6.19M
{
234
6.19M
    return ob->ob_type;
235
6.19M
}
Unexecuted instantiation: signalmodule.c:_Py_TYPE_impl
Unexecuted instantiation: _tracemalloc.c:_Py_TYPE_impl
Unexecuted instantiation: _suggestions.c:_Py_TYPE_impl
_datetimemodule.c:_Py_TYPE_impl
Line
Count
Source
233
75.8k
{
234
75.8k
    return ob->ob_type;
235
75.8k
}
_codecsmodule.c:_Py_TYPE_impl
Line
Count
Source
233
2.02M
{
234
2.02M
    return ob->ob_type;
235
2.02M
}
_collectionsmodule.c:_Py_TYPE_impl
Line
Count
Source
233
220k
{
234
220k
    return ob->ob_type;
235
220k
}
Unexecuted instantiation: errnomodule.c:_Py_TYPE_impl
_iomodule.c:_Py_TYPE_impl
Line
Count
Source
233
67.4k
{
234
67.4k
    return ob->ob_type;
235
67.4k
}
iobase.c:_Py_TYPE_impl
Line
Count
Source
233
55.7k
{
234
55.7k
    return ob->ob_type;
235
55.7k
}
fileio.c:_Py_TYPE_impl
Line
Count
Source
233
103k
{
234
103k
    return ob->ob_type;
235
103k
}
bytesio.c:_Py_TYPE_impl
Line
Count
Source
233
106k
{
234
106k
    return ob->ob_type;
235
106k
}
bufferedio.c:_Py_TYPE_impl
Line
Count
Source
233
2.48M
{
234
2.48M
    return ob->ob_type;
235
2.48M
}
textio.c:_Py_TYPE_impl
Line
Count
Source
233
1.12M
{
234
1.12M
    return ob->ob_type;
235
1.12M
}
stringio.c:_Py_TYPE_impl
Line
Count
Source
233
24.4M
{
234
24.4M
    return ob->ob_type;
235
24.4M
}
itertoolsmodule.c:_Py_TYPE_impl
Line
Count
Source
233
151k
{
234
151k
    return ob->ob_type;
235
151k
}
sre.c:_Py_TYPE_impl
Line
Count
Source
233
207M
{
234
207M
    return ob->ob_type;
235
207M
}
Unexecuted instantiation: _sysconfig.c:_Py_TYPE_impl
_threadmodule.c:_Py_TYPE_impl
Line
Count
Source
233
26.6M
{
234
26.6M
    return ob->ob_type;
235
26.6M
}
timemodule.c:_Py_TYPE_impl
Line
Count
Source
233
384
{
234
384
    return ob->ob_type;
235
384
}
Unexecuted instantiation: _typesmodule.c:_Py_TYPE_impl
Unexecuted instantiation: _typingmodule.c:_Py_TYPE_impl
_weakref.c:_Py_TYPE_impl
Line
Count
Source
233
43.2k
{
234
43.2k
    return ob->ob_type;
235
43.2k
}
_abc.c:_Py_TYPE_impl
Line
Count
Source
233
447k
{
234
447k
    return ob->ob_type;
235
447k
}
_functoolsmodule.c:_Py_TYPE_impl
Line
Count
Source
233
2.19M
{
234
2.19M
    return ob->ob_type;
235
2.19M
}
Unexecuted instantiation: _localemodule.c:_Py_TYPE_impl
Unexecuted instantiation: _opcode.c:_Py_TYPE_impl
_operator.c:_Py_TYPE_impl
Line
Count
Source
233
1.51M
{
234
1.51M
    return ob->ob_type;
235
1.51M
}
_stat.c:_Py_TYPE_impl
Line
Count
Source
233
3.73k
{
234
3.73k
    return ob->ob_type;
235
3.73k
}
Unexecuted instantiation: symtablemodule.c:_Py_TYPE_impl
Unexecuted instantiation: pwdmodule.c:_Py_TYPE_impl
getpath.c:_Py_TYPE_impl
Line
Count
Source
233
1.00k
{
234
1.00k
    return ob->ob_type;
235
1.00k
}
Unexecuted instantiation: frozen.c:_Py_TYPE_impl
Unexecuted instantiation: getbuildinfo.c:_Py_TYPE_impl
Unexecuted instantiation: peg_api.c:_Py_TYPE_impl
Unexecuted instantiation: file_tokenizer.c:_Py_TYPE_impl
Unexecuted instantiation: helpers.c:_Py_TYPE_impl
Unexecuted instantiation: myreadline.c:_Py_TYPE_impl
abstract.c:_Py_TYPE_impl
Line
Count
Source
233
4.95G
{
234
4.95G
    return ob->ob_type;
235
4.95G
}
Unexecuted instantiation: boolobject.c:_Py_TYPE_impl
bytes_methods.c:_Py_TYPE_impl
Line
Count
Source
233
4.84M
{
234
4.84M
    return ob->ob_type;
235
4.84M
}
bytearrayobject.c:_Py_TYPE_impl
Line
Count
Source
233
442M
{
234
442M
    return ob->ob_type;
235
442M
}
capsule.c:_Py_TYPE_impl
Line
Count
Source
233
9.81k
{
234
9.81k
    return ob->ob_type;
235
9.81k
}
cellobject.c:_Py_TYPE_impl
Line
Count
Source
233
9.78k
{
234
9.78k
    return ob->ob_type;
235
9.78k
}
classobject.c:_Py_TYPE_impl
Line
Count
Source
233
518
{
234
518
    return ob->ob_type;
235
518
}
codeobject.c:_Py_TYPE_impl
Line
Count
Source
233
6.27M
{
234
6.27M
    return ob->ob_type;
235
6.27M
}
complexobject.c:_Py_TYPE_impl
Line
Count
Source
233
7.54k
{
234
7.54k
    return ob->ob_type;
235
7.54k
}
descrobject.c:_Py_TYPE_impl
Line
Count
Source
233
690M
{
234
690M
    return ob->ob_type;
235
690M
}
enumobject.c:_Py_TYPE_impl
Line
Count
Source
233
77.0M
{
234
77.0M
    return ob->ob_type;
235
77.0M
}
genobject.c:_Py_TYPE_impl
Line
Count
Source
233
57.7M
{
234
57.7M
    return ob->ob_type;
235
57.7M
}
fileobject.c:_Py_TYPE_impl
Line
Count
Source
233
6.21k
{
234
6.21k
    return ob->ob_type;
235
6.21k
}
frameobject.c:_Py_TYPE_impl
Line
Count
Source
233
88
{
234
88
    return ob->ob_type;
235
88
}
funcobject.c:_Py_TYPE_impl
Line
Count
Source
233
128k
{
234
128k
    return ob->ob_type;
235
128k
}
interpolationobject.c:_Py_TYPE_impl
Line
Count
Source
233
8
{
234
8
    return ob->ob_type;
235
8
}
iterobject.c:_Py_TYPE_impl
Line
Count
Source
233
3.22M
{
234
3.22M
    return ob->ob_type;
235
3.22M
}
lazyimportobject.c:_Py_TYPE_impl
Line
Count
Source
233
412
{
234
412
    return ob->ob_type;
235
412
}
odictobject.c:_Py_TYPE_impl
Line
Count
Source
233
29.8k
{
234
29.8k
    return ob->ob_type;
235
29.8k
}
methodobject.c:_Py_TYPE_impl
Line
Count
Source
233
240k
{
234
240k
    return ob->ob_type;
235
240k
}
namespaceobject.c:_Py_TYPE_impl
Line
Count
Source
233
670
{
234
670
    return ob->ob_type;
235
670
}
Unexecuted instantiation: _contextvars.c:_Py_TYPE_impl
Python-ast.c:_Py_TYPE_impl
Line
Count
Source
233
835k
{
234
835k
    return ob->ob_type;
235
835k
}
Python-tokenize.c:_Py_TYPE_impl
Line
Count
Source
233
24
{
234
24
    return ob->ob_type;
235
24
}
Unexecuted instantiation: asdl.c:_Py_TYPE_impl
Unexecuted instantiation: assemble.c:_Py_TYPE_impl
ast.c:_Py_TYPE_impl
Line
Count
Source
233
6.68k
{
234
6.68k
    return ob->ob_type;
235
6.68k
}
ast_preprocess.c:_Py_TYPE_impl
Line
Count
Source
233
105
{
234
105
    return ob->ob_type;
235
105
}
Unexecuted instantiation: ast_unparse.c:_Py_TYPE_impl
Unexecuted instantiation: critical_section.c:_Py_TYPE_impl
crossinterp.c:_Py_TYPE_impl
Line
Count
Source
233
36
{
234
36
    return ob->ob_type;
235
36
}
Unexecuted instantiation: getcopyright.c:_Py_TYPE_impl
Unexecuted instantiation: getplatform.c:_Py_TYPE_impl
Unexecuted instantiation: getversion.c:_Py_TYPE_impl
Unexecuted instantiation: optimizer.c:_Py_TYPE_impl
Unexecuted instantiation: pathconfig.c:_Py_TYPE_impl
pegen.c:_Py_TYPE_impl
Line
Count
Source
233
152k
{
234
152k
    return ob->ob_type;
235
152k
}
Unexecuted instantiation: pegen_errors.c:_Py_TYPE_impl
Unexecuted instantiation: parser.c:_Py_TYPE_impl
Unexecuted instantiation: buffer.c:_Py_TYPE_impl
Unexecuted instantiation: lexer.c:_Py_TYPE_impl
Unexecuted instantiation: state.c:_Py_TYPE_impl
readline_tokenizer.c:_Py_TYPE_impl
Line
Count
Source
233
344
{
234
344
    return ob->ob_type;
235
344
}
Unexecuted instantiation: string_tokenizer.c:_Py_TYPE_impl
Unexecuted instantiation: utf8_tokenizer.c:_Py_TYPE_impl
Unexecuted instantiation: getcompiler.c:_Py_TYPE_impl
Unexecuted instantiation: mystrtoul.c:_Py_TYPE_impl
Unexecuted instantiation: token.c:_Py_TYPE_impl
action_helpers.c:_Py_TYPE_impl
Line
Count
Source
233
155k
{
234
155k
    return ob->ob_type;
235
155k
}
Unexecuted instantiation: string_parser.c:_Py_TYPE_impl
236
237
// bpo-39573: The Py_SET_SIZE() function must be used to set an object size.
238
static inline Py_ssize_t
239
_Py_SIZE_impl(PyObject *ob)
240
14.3G
{
241
14.3G
    assert(Py_TYPE(ob) != &PyLong_Type);
242
14.3G
    assert(Py_TYPE(ob) != &PyBool_Type);
243
14.3G
    return  _PyVarObject_CAST(ob)->ob_size;
244
14.3G
}
bytesobject.c:_Py_SIZE_impl
Line
Count
Source
240
523M
{
241
523M
    assert(Py_TYPE(ob) != &PyLong_Type);
242
523M
    assert(Py_TYPE(ob) != &PyBool_Type);
243
523M
    return  _PyVarObject_CAST(ob)->ob_size;
244
523M
}
call.c:_Py_SIZE_impl
Line
Count
Source
240
110M
{
241
110M
    assert(Py_TYPE(ob) != &PyLong_Type);
242
110M
    assert(Py_TYPE(ob) != &PyBool_Type);
243
110M
    return  _PyVarObject_CAST(ob)->ob_size;
244
110M
}
exceptions.c:_Py_SIZE_impl
Line
Count
Source
240
21.6M
{
241
21.6M
    assert(Py_TYPE(ob) != &PyLong_Type);
242
21.6M
    assert(Py_TYPE(ob) != &PyBool_Type);
243
21.6M
    return  _PyVarObject_CAST(ob)->ob_size;
244
21.6M
}
genericaliasobject.c:_Py_SIZE_impl
Line
Count
Source
240
740
{
241
740
    assert(Py_TYPE(ob) != &PyLong_Type);
242
740
    assert(Py_TYPE(ob) != &PyBool_Type);
243
740
    return  _PyVarObject_CAST(ob)->ob_size;
244
740
}
floatobject.c:_Py_SIZE_impl
Line
Count
Source
240
544k
{
241
544k
    assert(Py_TYPE(ob) != &PyLong_Type);
242
544k
    assert(Py_TYPE(ob) != &PyBool_Type);
243
544k
    return  _PyVarObject_CAST(ob)->ob_size;
244
544k
}
listobject.c:_Py_SIZE_impl
Line
Count
Source
240
2.16G
{
241
2.16G
    assert(Py_TYPE(ob) != &PyLong_Type);
242
2.16G
    assert(Py_TYPE(ob) != &PyBool_Type);
243
2.16G
    return  _PyVarObject_CAST(ob)->ob_size;
244
2.16G
}
longobject.c:_Py_SIZE_impl
Line
Count
Source
240
17.1M
{
241
17.1M
    assert(Py_TYPE(ob) != &PyLong_Type);
242
17.1M
    assert(Py_TYPE(ob) != &PyBool_Type);
243
17.1M
    return  _PyVarObject_CAST(ob)->ob_size;
244
17.1M
}
dictobject.c:_Py_SIZE_impl
Line
Count
Source
240
130k
{
241
130k
    assert(Py_TYPE(ob) != &PyLong_Type);
242
130k
    assert(Py_TYPE(ob) != &PyBool_Type);
243
130k
    return  _PyVarObject_CAST(ob)->ob_size;
244
130k
}
memoryobject.c:_Py_SIZE_impl
Line
Count
Source
240
124k
{
241
124k
    assert(Py_TYPE(ob) != &PyLong_Type);
242
124k
    assert(Py_TYPE(ob) != &PyBool_Type);
243
124k
    return  _PyVarObject_CAST(ob)->ob_size;
244
124k
}
moduleobject.c:_Py_SIZE_impl
Line
Count
Source
240
6.78k
{
241
6.78k
    assert(Py_TYPE(ob) != &PyLong_Type);
242
6.78k
    assert(Py_TYPE(ob) != &PyBool_Type);
243
6.78k
    return  _PyVarObject_CAST(ob)->ob_size;
244
6.78k
}
object.c:_Py_SIZE_impl
Line
Count
Source
240
7.05M
{
241
7.05M
    assert(Py_TYPE(ob) != &PyLong_Type);
242
7.05M
    assert(Py_TYPE(ob) != &PyBool_Type);
243
7.05M
    return  _PyVarObject_CAST(ob)->ob_size;
244
7.05M
}
Unexecuted instantiation: obmalloc.c:_Py_SIZE_impl
Unexecuted instantiation: picklebufobject.c:_Py_SIZE_impl
Unexecuted instantiation: rangeobject.c:_Py_SIZE_impl
Unexecuted instantiation: setobject.c:_Py_SIZE_impl
Unexecuted instantiation: sliceobject.c:_Py_SIZE_impl
structseq.c:_Py_SIZE_impl
Line
Count
Source
240
500k
{
241
500k
    assert(Py_TYPE(ob) != &PyLong_Type);
242
500k
    assert(Py_TYPE(ob) != &PyBool_Type);
243
500k
    return  _PyVarObject_CAST(ob)->ob_size;
244
500k
}
Unexecuted instantiation: templateobject.c:_Py_SIZE_impl
tupleobject.c:_Py_SIZE_impl
Line
Count
Source
240
8.25G
{
241
8.25G
    assert(Py_TYPE(ob) != &PyLong_Type);
242
8.25G
    assert(Py_TYPE(ob) != &PyBool_Type);
243
8.25G
    return  _PyVarObject_CAST(ob)->ob_size;
244
8.25G
}
typeobject.c:_Py_SIZE_impl
Line
Count
Source
240
984M
{
241
984M
    assert(Py_TYPE(ob) != &PyLong_Type);
242
984M
    assert(Py_TYPE(ob) != &PyBool_Type);
243
984M
    return  _PyVarObject_CAST(ob)->ob_size;
244
984M
}
typevarobject.c:_Py_SIZE_impl
Line
Count
Source
240
1.13k
{
241
1.13k
    assert(Py_TYPE(ob) != &PyLong_Type);
242
1.13k
    assert(Py_TYPE(ob) != &PyBool_Type);
243
1.13k
    return  _PyVarObject_CAST(ob)->ob_size;
244
1.13k
}
Unexecuted instantiation: unicode_format.c:_Py_SIZE_impl
Unexecuted instantiation: unicode_formatter.c:_Py_SIZE_impl
Unexecuted instantiation: unicode_writer.c:_Py_SIZE_impl
Unexecuted instantiation: unicodectype.c:_Py_SIZE_impl
unicodeobject.c:_Py_SIZE_impl
Line
Count
Source
240
97.4M
{
241
97.4M
    assert(Py_TYPE(ob) != &PyLong_Type);
242
97.4M
    assert(Py_TYPE(ob) != &PyBool_Type);
243
97.4M
    return  _PyVarObject_CAST(ob)->ob_size;
244
97.4M
}
unionobject.c:_Py_SIZE_impl
Line
Count
Source
240
1.69k
{
241
1.69k
    assert(Py_TYPE(ob) != &PyLong_Type);
242
1.69k
    assert(Py_TYPE(ob) != &PyBool_Type);
243
1.69k
    return  _PyVarObject_CAST(ob)->ob_size;
244
1.69k
}
Unexecuted instantiation: weakrefobject.c:_Py_SIZE_impl
_warnings.c:_Py_SIZE_impl
Line
Count
Source
240
3.85M
{
241
3.85M
    assert(Py_TYPE(ob) != &PyLong_Type);
242
3.85M
    assert(Py_TYPE(ob) != &PyBool_Type);
243
3.85M
    return  _PyVarObject_CAST(ob)->ob_size;
244
3.85M
}
bltinmodule.c:_Py_SIZE_impl
Line
Count
Source
240
94.6M
{
241
94.6M
    assert(Py_TYPE(ob) != &PyLong_Type);
242
94.6M
    assert(Py_TYPE(ob) != &PyBool_Type);
243
94.6M
    return  _PyVarObject_CAST(ob)->ob_size;
244
94.6M
}
ceval.c:_Py_SIZE_impl
Line
Count
Source
240
1.51G
{
241
1.51G
    assert(Py_TYPE(ob) != &PyLong_Type);
242
1.51G
    assert(Py_TYPE(ob) != &PyBool_Type);
243
1.51G
    return  _PyVarObject_CAST(ob)->ob_size;
244
1.51G
}
codecs.c:_Py_SIZE_impl
Line
Count
Source
240
2.20M
{
241
2.20M
    assert(Py_TYPE(ob) != &PyLong_Type);
242
2.20M
    assert(Py_TYPE(ob) != &PyBool_Type);
243
2.20M
    return  _PyVarObject_CAST(ob)->ob_size;
244
2.20M
}
codegen.c:_Py_SIZE_impl
Line
Count
Source
240
179
{
241
179
    assert(Py_TYPE(ob) != &PyLong_Type);
242
179
    assert(Py_TYPE(ob) != &PyBool_Type);
243
179
    return  _PyVarObject_CAST(ob)->ob_size;
244
179
}
compile.c:_Py_SIZE_impl
Line
Count
Source
240
33.7k
{
241
33.7k
    assert(Py_TYPE(ob) != &PyLong_Type);
242
33.7k
    assert(Py_TYPE(ob) != &PyBool_Type);
243
33.7k
    return  _PyVarObject_CAST(ob)->ob_size;
244
33.7k
}
Unexecuted instantiation: context.c:_Py_SIZE_impl
Unexecuted instantiation: errors.c:_Py_SIZE_impl
flowgraph.c:_Py_SIZE_impl
Line
Count
Source
240
32.4k
{
241
32.4k
    assert(Py_TYPE(ob) != &PyLong_Type);
242
32.4k
    assert(Py_TYPE(ob) != &PyBool_Type);
243
32.4k
    return  _PyVarObject_CAST(ob)->ob_size;
244
32.4k
}
Unexecuted instantiation: frame.c:_Py_SIZE_impl
Unexecuted instantiation: future.c:_Py_SIZE_impl
gc.c:_Py_SIZE_impl
Line
Count
Source
240
386k
{
241
386k
    assert(Py_TYPE(ob) != &PyLong_Type);
242
386k
    assert(Py_TYPE(ob) != &PyBool_Type);
243
386k
    return  _PyVarObject_CAST(ob)->ob_size;
244
386k
}
Unexecuted instantiation: gc_gil.c:_Py_SIZE_impl
getargs.c:_Py_SIZE_impl
Line
Count
Source
240
21.6M
{
241
21.6M
    assert(Py_TYPE(ob) != &PyLong_Type);
242
21.6M
    assert(Py_TYPE(ob) != &PyBool_Type);
243
21.6M
    return  _PyVarObject_CAST(ob)->ob_size;
244
21.6M
}
Unexecuted instantiation: ceval_gil.c:_Py_SIZE_impl
Unexecuted instantiation: hamt.c:_Py_SIZE_impl
Unexecuted instantiation: hashtable.c:_Py_SIZE_impl
import.c:_Py_SIZE_impl
Line
Count
Source
240
438
{
241
438
    assert(Py_TYPE(ob) != &PyLong_Type);
242
438
    assert(Py_TYPE(ob) != &PyBool_Type);
243
438
    return  _PyVarObject_CAST(ob)->ob_size;
244
438
}
Unexecuted instantiation: importdl.c:_Py_SIZE_impl
initconfig.c:_Py_SIZE_impl
Line
Count
Source
240
144
{
241
144
    assert(Py_TYPE(ob) != &PyLong_Type);
242
144
    assert(Py_TYPE(ob) != &PyBool_Type);
243
144
    return  _PyVarObject_CAST(ob)->ob_size;
244
144
}
Unexecuted instantiation: instrumentation.c:_Py_SIZE_impl
Unexecuted instantiation: instruction_sequence.c:_Py_SIZE_impl
intrinsics.c:_Py_SIZE_impl
Line
Count
Source
240
8.61M
{
241
8.61M
    assert(Py_TYPE(ob) != &PyLong_Type);
242
8.61M
    assert(Py_TYPE(ob) != &PyBool_Type);
243
8.61M
    return  _PyVarObject_CAST(ob)->ob_size;
244
8.61M
}
Unexecuted instantiation: legacy_tracing.c:_Py_SIZE_impl
Unexecuted instantiation: lock.c:_Py_SIZE_impl
marshal.c:_Py_SIZE_impl
Line
Count
Source
240
1.89M
{
241
1.89M
    assert(Py_TYPE(ob) != &PyLong_Type);
242
1.89M
    assert(Py_TYPE(ob) != &PyBool_Type);
243
1.89M
    return  _PyVarObject_CAST(ob)->ob_size;
244
1.89M
}
Unexecuted instantiation: modsupport.c:_Py_SIZE_impl
Unexecuted instantiation: mysnprintf.c:_Py_SIZE_impl
Unexecuted instantiation: parking_lot.c:_Py_SIZE_impl
Unexecuted instantiation: preconfig.c:_Py_SIZE_impl
Unexecuted instantiation: pyarena.c:_Py_SIZE_impl
Unexecuted instantiation: pyctype.c:_Py_SIZE_impl
Unexecuted instantiation: pyhash.c:_Py_SIZE_impl
Unexecuted instantiation: pylifecycle.c:_Py_SIZE_impl
Unexecuted instantiation: pymath.c:_Py_SIZE_impl
Unexecuted instantiation: pystate.c:_Py_SIZE_impl
pythonrun.c:_Py_SIZE_impl
Line
Count
Source
240
20.3k
{
241
20.3k
    assert(Py_TYPE(ob) != &PyLong_Type);
242
20.3k
    assert(Py_TYPE(ob) != &PyBool_Type);
243
20.3k
    return  _PyVarObject_CAST(ob)->ob_size;
244
20.3k
}
Unexecuted instantiation: pytime.c:_Py_SIZE_impl
Unexecuted instantiation: qsbr.c:_Py_SIZE_impl
Unexecuted instantiation: bootstrap_hash.c:_Py_SIZE_impl
specialize.c:_Py_SIZE_impl
Line
Count
Source
240
9.59k
{
241
9.59k
    assert(Py_TYPE(ob) != &PyLong_Type);
242
9.59k
    assert(Py_TYPE(ob) != &PyBool_Type);
243
9.59k
    return  _PyVarObject_CAST(ob)->ob_size;
244
9.59k
}
Unexecuted instantiation: structmember.c:_Py_SIZE_impl
symtable.c:_Py_SIZE_impl
Line
Count
Source
240
36.4k
{
241
36.4k
    assert(Py_TYPE(ob) != &PyLong_Type);
242
36.4k
    assert(Py_TYPE(ob) != &PyBool_Type);
243
36.4k
    return  _PyVarObject_CAST(ob)->ob_size;
244
36.4k
}
Unexecuted instantiation: sysmodule.c:_Py_SIZE_impl
Unexecuted instantiation: thread.c:_Py_SIZE_impl
Unexecuted instantiation: traceback.c:_Py_SIZE_impl
Unexecuted instantiation: tracemalloc.c:_Py_SIZE_impl
Unexecuted instantiation: getopt.c:_Py_SIZE_impl
Unexecuted instantiation: pystrcmp.c:_Py_SIZE_impl
Unexecuted instantiation: pystrtod.c:_Py_SIZE_impl
Unexecuted instantiation: pystrhex.c:_Py_SIZE_impl
Unexecuted instantiation: dtoa.c:_Py_SIZE_impl
Unexecuted instantiation: fileutils.c:_Py_SIZE_impl
Unexecuted instantiation: suggestions.c:_Py_SIZE_impl
Unexecuted instantiation: perf_trampoline.c:_Py_SIZE_impl
Unexecuted instantiation: perf_jit_trampoline.c:_Py_SIZE_impl
Unexecuted instantiation: remote_debugging.c:_Py_SIZE_impl
Unexecuted instantiation: dynload_shlib.c:_Py_SIZE_impl
Unexecuted instantiation: config.c:_Py_SIZE_impl
Unexecuted instantiation: gcmodule.c:_Py_SIZE_impl
Unexecuted instantiation: _asynciomodule.c:_Py_SIZE_impl
atexitmodule.c:_Py_SIZE_impl
Line
Count
Source
240
12
{
241
12
    assert(Py_TYPE(ob) != &PyLong_Type);
242
12
    assert(Py_TYPE(ob) != &PyBool_Type);
243
12
    return  _PyVarObject_CAST(ob)->ob_size;
244
12
}
Unexecuted instantiation: faulthandler.c:_Py_SIZE_impl
posixmodule.c:_Py_SIZE_impl
Line
Count
Source
240
1.85M
{
241
1.85M
    assert(Py_TYPE(ob) != &PyLong_Type);
242
1.85M
    assert(Py_TYPE(ob) != &PyBool_Type);
243
1.85M
    return  _PyVarObject_CAST(ob)->ob_size;
244
1.85M
}
Unexecuted instantiation: signalmodule.c:_Py_SIZE_impl
Unexecuted instantiation: _tracemalloc.c:_Py_SIZE_impl
Unexecuted instantiation: _suggestions.c:_Py_SIZE_impl
_datetimemodule.c:_Py_SIZE_impl
Line
Count
Source
240
33.1k
{
241
33.1k
    assert(Py_TYPE(ob) != &PyLong_Type);
242
33.1k
    assert(Py_TYPE(ob) != &PyBool_Type);
243
33.1k
    return  _PyVarObject_CAST(ob)->ob_size;
244
33.1k
}
Unexecuted instantiation: _codecsmodule.c:_Py_SIZE_impl
_collectionsmodule.c:_Py_SIZE_impl
Line
Count
Source
240
169M
{
241
169M
    assert(Py_TYPE(ob) != &PyLong_Type);
242
169M
    assert(Py_TYPE(ob) != &PyBool_Type);
243
169M
    return  _PyVarObject_CAST(ob)->ob_size;
244
169M
}
Unexecuted instantiation: errnomodule.c:_Py_SIZE_impl
Unexecuted instantiation: _iomodule.c:_Py_SIZE_impl
Unexecuted instantiation: iobase.c:_Py_SIZE_impl
fileio.c:_Py_SIZE_impl
Line
Count
Source
240
30.7k
{
241
30.7k
    assert(Py_TYPE(ob) != &PyLong_Type);
242
30.7k
    assert(Py_TYPE(ob) != &PyBool_Type);
243
30.7k
    return  _PyVarObject_CAST(ob)->ob_size;
244
30.7k
}
bytesio.c:_Py_SIZE_impl
Line
Count
Source
240
258k
{
241
258k
    assert(Py_TYPE(ob) != &PyLong_Type);
242
258k
    assert(Py_TYPE(ob) != &PyBool_Type);
243
258k
    return  _PyVarObject_CAST(ob)->ob_size;
244
258k
}
bufferedio.c:_Py_SIZE_impl
Line
Count
Source
240
35.6k
{
241
35.6k
    assert(Py_TYPE(ob) != &PyLong_Type);
242
35.6k
    assert(Py_TYPE(ob) != &PyBool_Type);
243
35.6k
    return  _PyVarObject_CAST(ob)->ob_size;
244
35.6k
}
textio.c:_Py_SIZE_impl
Line
Count
Source
240
18.3k
{
241
18.3k
    assert(Py_TYPE(ob) != &PyLong_Type);
242
18.3k
    assert(Py_TYPE(ob) != &PyBool_Type);
243
18.3k
    return  _PyVarObject_CAST(ob)->ob_size;
244
18.3k
}
stringio.c:_Py_SIZE_impl
Line
Count
Source
240
38.1k
{
241
38.1k
    assert(Py_TYPE(ob) != &PyLong_Type);
242
38.1k
    assert(Py_TYPE(ob) != &PyBool_Type);
243
38.1k
    return  _PyVarObject_CAST(ob)->ob_size;
244
38.1k
}
itertoolsmodule.c:_Py_SIZE_impl
Line
Count
Source
240
7.49k
{
241
7.49k
    assert(Py_TYPE(ob) != &PyLong_Type);
242
7.49k
    assert(Py_TYPE(ob) != &PyBool_Type);
243
7.49k
    return  _PyVarObject_CAST(ob)->ob_size;
244
7.49k
}
sre.c:_Py_SIZE_impl
Line
Count
Source
240
36.9M
{
241
36.9M
    assert(Py_TYPE(ob) != &PyLong_Type);
242
36.9M
    assert(Py_TYPE(ob) != &PyBool_Type);
243
36.9M
    return  _PyVarObject_CAST(ob)->ob_size;
244
36.9M
}
Unexecuted instantiation: _sysconfig.c:_Py_SIZE_impl
Unexecuted instantiation: _threadmodule.c:_Py_SIZE_impl
Unexecuted instantiation: timemodule.c:_Py_SIZE_impl
Unexecuted instantiation: _typesmodule.c:_Py_SIZE_impl
Unexecuted instantiation: _typingmodule.c:_Py_SIZE_impl
Unexecuted instantiation: _weakref.c:_Py_SIZE_impl
_abc.c:_Py_SIZE_impl
Line
Count
Source
240
60.7k
{
241
60.7k
    assert(Py_TYPE(ob) != &PyLong_Type);
242
60.7k
    assert(Py_TYPE(ob) != &PyBool_Type);
243
60.7k
    return  _PyVarObject_CAST(ob)->ob_size;
244
60.7k
}
_functoolsmodule.c:_Py_SIZE_impl
Line
Count
Source
240
348k
{
241
348k
    assert(Py_TYPE(ob) != &PyLong_Type);
242
348k
    assert(Py_TYPE(ob) != &PyBool_Type);
243
348k
    return  _PyVarObject_CAST(ob)->ob_size;
244
348k
}
Unexecuted instantiation: _localemodule.c:_Py_SIZE_impl
Unexecuted instantiation: _opcode.c:_Py_SIZE_impl
_operator.c:_Py_SIZE_impl
Line
Count
Source
240
1.23M
{
241
1.23M
    assert(Py_TYPE(ob) != &PyLong_Type);
242
1.23M
    assert(Py_TYPE(ob) != &PyBool_Type);
243
1.23M
    return  _PyVarObject_CAST(ob)->ob_size;
244
1.23M
}
Unexecuted instantiation: _stat.c:_Py_SIZE_impl
Unexecuted instantiation: symtablemodule.c:_Py_SIZE_impl
Unexecuted instantiation: pwdmodule.c:_Py_SIZE_impl
getpath.c:_Py_SIZE_impl
Line
Count
Source
240
324
{
241
324
    assert(Py_TYPE(ob) != &PyLong_Type);
242
324
    assert(Py_TYPE(ob) != &PyBool_Type);
243
324
    return  _PyVarObject_CAST(ob)->ob_size;
244
324
}
Unexecuted instantiation: frozen.c:_Py_SIZE_impl
Unexecuted instantiation: getbuildinfo.c:_Py_SIZE_impl
Unexecuted instantiation: peg_api.c:_Py_SIZE_impl
Unexecuted instantiation: file_tokenizer.c:_Py_SIZE_impl
Unexecuted instantiation: helpers.c:_Py_SIZE_impl
Unexecuted instantiation: myreadline.c:_Py_SIZE_impl
abstract.c:_Py_SIZE_impl
Line
Count
Source
240
8.14M
{
241
8.14M
    assert(Py_TYPE(ob) != &PyLong_Type);
242
8.14M
    assert(Py_TYPE(ob) != &PyBool_Type);
243
8.14M
    return  _PyVarObject_CAST(ob)->ob_size;
244
8.14M
}
Unexecuted instantiation: boolobject.c:_Py_SIZE_impl
bytes_methods.c:_Py_SIZE_impl
Line
Count
Source
240
1.93M
{
241
1.93M
    assert(Py_TYPE(ob) != &PyLong_Type);
242
1.93M
    assert(Py_TYPE(ob) != &PyBool_Type);
243
1.93M
    return  _PyVarObject_CAST(ob)->ob_size;
244
1.93M
}
bytearrayobject.c:_Py_SIZE_impl
Line
Count
Source
240
286M
{
241
286M
    assert(Py_TYPE(ob) != &PyLong_Type);
242
286M
    assert(Py_TYPE(ob) != &PyBool_Type);
243
286M
    return  _PyVarObject_CAST(ob)->ob_size;
244
286M
}
Unexecuted instantiation: capsule.c:_Py_SIZE_impl
Unexecuted instantiation: cellobject.c:_Py_SIZE_impl
classobject.c:_Py_SIZE_impl
Line
Count
Source
240
40
{
241
40
    assert(Py_TYPE(ob) != &PyLong_Type);
242
40
    assert(Py_TYPE(ob) != &PyBool_Type);
243
40
    return  _PyVarObject_CAST(ob)->ob_size;
244
40
}
codeobject.c:_Py_SIZE_impl
Line
Count
Source
240
4.90M
{
241
4.90M
    assert(Py_TYPE(ob) != &PyLong_Type);
242
4.90M
    assert(Py_TYPE(ob) != &PyBool_Type);
243
4.90M
    return  _PyVarObject_CAST(ob)->ob_size;
244
4.90M
}
Unexecuted instantiation: complexobject.c:_Py_SIZE_impl
descrobject.c:_Py_SIZE_impl
Line
Count
Source
240
15.8M
{
241
15.8M
    assert(Py_TYPE(ob) != &PyLong_Type);
242
15.8M
    assert(Py_TYPE(ob) != &PyBool_Type);
243
15.8M
    return  _PyVarObject_CAST(ob)->ob_size;
244
15.8M
}
enumobject.c:_Py_SIZE_impl
Line
Count
Source
240
6.03k
{
241
6.03k
    assert(Py_TYPE(ob) != &PyLong_Type);
242
6.03k
    assert(Py_TYPE(ob) != &PyBool_Type);
243
6.03k
    return  _PyVarObject_CAST(ob)->ob_size;
244
6.03k
}
Unexecuted instantiation: genobject.c:_Py_SIZE_impl
Unexecuted instantiation: fileobject.c:_Py_SIZE_impl
frameobject.c:_Py_SIZE_impl
Line
Count
Source
240
44
{
241
44
    assert(Py_TYPE(ob) != &PyLong_Type);
242
44
    assert(Py_TYPE(ob) != &PyBool_Type);
243
44
    return  _PyVarObject_CAST(ob)->ob_size;
244
44
}
funcobject.c:_Py_SIZE_impl
Line
Count
Source
240
7.53k
{
241
7.53k
    assert(Py_TYPE(ob) != &PyLong_Type);
242
7.53k
    assert(Py_TYPE(ob) != &PyBool_Type);
243
7.53k
    return  _PyVarObject_CAST(ob)->ob_size;
244
7.53k
}
Unexecuted instantiation: interpolationobject.c:_Py_SIZE_impl
Unexecuted instantiation: iterobject.c:_Py_SIZE_impl
Unexecuted instantiation: lazyimportobject.c:_Py_SIZE_impl
odictobject.c:_Py_SIZE_impl
Line
Count
Source
240
22.4k
{
241
22.4k
    assert(Py_TYPE(ob) != &PyLong_Type);
242
22.4k
    assert(Py_TYPE(ob) != &PyBool_Type);
243
22.4k
    return  _PyVarObject_CAST(ob)->ob_size;
244
22.4k
}
Unexecuted instantiation: methodobject.c:_Py_SIZE_impl
Unexecuted instantiation: namespaceobject.c:_Py_SIZE_impl
Unexecuted instantiation: _contextvars.c:_Py_SIZE_impl
Python-ast.c:_Py_SIZE_impl
Line
Count
Source
240
974
{
241
974
    assert(Py_TYPE(ob) != &PyLong_Type);
242
974
    assert(Py_TYPE(ob) != &PyBool_Type);
243
974
    return  _PyVarObject_CAST(ob)->ob_size;
244
974
}
Python-tokenize.c:_Py_SIZE_impl
Line
Count
Source
240
20
{
241
20
    assert(Py_TYPE(ob) != &PyLong_Type);
242
20
    assert(Py_TYPE(ob) != &PyBool_Type);
243
20
    return  _PyVarObject_CAST(ob)->ob_size;
244
20
}
Unexecuted instantiation: asdl.c:_Py_SIZE_impl
assemble.c:_Py_SIZE_impl
Line
Count
Source
240
376k
{
241
376k
    assert(Py_TYPE(ob) != &PyLong_Type);
242
376k
    assert(Py_TYPE(ob) != &PyBool_Type);
243
376k
    return  _PyVarObject_CAST(ob)->ob_size;
244
376k
}
Unexecuted instantiation: ast.c:_Py_SIZE_impl
Unexecuted instantiation: ast_preprocess.c:_Py_SIZE_impl
Unexecuted instantiation: ast_unparse.c:_Py_SIZE_impl
Unexecuted instantiation: critical_section.c:_Py_SIZE_impl
Unexecuted instantiation: crossinterp.c:_Py_SIZE_impl
Unexecuted instantiation: getcopyright.c:_Py_SIZE_impl
Unexecuted instantiation: getplatform.c:_Py_SIZE_impl
Unexecuted instantiation: getversion.c:_Py_SIZE_impl
Unexecuted instantiation: optimizer.c:_Py_SIZE_impl
Unexecuted instantiation: pathconfig.c:_Py_SIZE_impl
Unexecuted instantiation: pegen.c:_Py_SIZE_impl
Unexecuted instantiation: pegen_errors.c:_Py_SIZE_impl
Unexecuted instantiation: parser.c:_Py_SIZE_impl
Unexecuted instantiation: buffer.c:_Py_SIZE_impl
lexer.c:_Py_SIZE_impl
Line
Count
Source
240
361
{
241
361
    assert(Py_TYPE(ob) != &PyLong_Type);
242
361
    assert(Py_TYPE(ob) != &PyBool_Type);
243
361
    return  _PyVarObject_CAST(ob)->ob_size;
244
361
}
Unexecuted instantiation: state.c:_Py_SIZE_impl
readline_tokenizer.c:_Py_SIZE_impl
Line
Count
Source
240
4
{
241
4
    assert(Py_TYPE(ob) != &PyLong_Type);
242
4
    assert(Py_TYPE(ob) != &PyBool_Type);
243
4
    return  _PyVarObject_CAST(ob)->ob_size;
244
4
}
Unexecuted instantiation: string_tokenizer.c:_Py_SIZE_impl
Unexecuted instantiation: utf8_tokenizer.c:_Py_SIZE_impl
Unexecuted instantiation: getcompiler.c:_Py_SIZE_impl
Unexecuted instantiation: mystrtoul.c:_Py_SIZE_impl
Unexecuted instantiation: token.c:_Py_SIZE_impl
action_helpers.c:_Py_SIZE_impl
Line
Count
Source
240
5.23k
{
241
5.23k
    assert(Py_TYPE(ob) != &PyLong_Type);
242
5.23k
    assert(Py_TYPE(ob) != &PyBool_Type);
243
5.23k
    return  _PyVarObject_CAST(ob)->ob_size;
244
5.23k
}
Unexecuted instantiation: string_parser.c:_Py_SIZE_impl
245
246
static inline int
247
_Py_IS_TYPE_impl(PyObject *ob, PyTypeObject *type)
248
15.0G
{
249
15.0G
    return Py_TYPE(ob) == type;
250
15.0G
}
bytesobject.c:_Py_IS_TYPE_impl
Line
Count
Source
248
91.1M
{
249
91.1M
    return Py_TYPE(ob) == type;
250
91.1M
}
Unexecuted instantiation: call.c:_Py_IS_TYPE_impl
exceptions.c:_Py_IS_TYPE_impl
Line
Count
Source
248
67.1M
{
249
67.1M
    return Py_TYPE(ob) == type;
250
67.1M
}
genericaliasobject.c:_Py_IS_TYPE_impl
Line
Count
Source
248
244
{
249
244
    return Py_TYPE(ob) == type;
250
244
}
floatobject.c:_Py_IS_TYPE_impl
Line
Count
Source
248
20.1M
{
249
20.1M
    return Py_TYPE(ob) == type;
250
20.1M
}
listobject.c:_Py_IS_TYPE_impl
Line
Count
Source
248
366M
{
249
366M
    return Py_TYPE(ob) == type;
250
366M
}
longobject.c:_Py_IS_TYPE_impl
Line
Count
Source
248
757M
{
249
757M
    return Py_TYPE(ob) == type;
250
757M
}
dictobject.c:_Py_IS_TYPE_impl
Line
Count
Source
248
3.86G
{
249
3.86G
    return Py_TYPE(ob) == type;
250
3.86G
}
memoryobject.c:_Py_IS_TYPE_impl
Line
Count
Source
248
158k
{
249
158k
    return Py_TYPE(ob) == type;
250
158k
}
moduleobject.c:_Py_IS_TYPE_impl
Line
Count
Source
248
35.2M
{
249
35.2M
    return Py_TYPE(ob) == type;
250
35.2M
}
object.c:_Py_IS_TYPE_impl
Line
Count
Source
248
720M
{
249
720M
    return Py_TYPE(ob) == type;
250
720M
}
Unexecuted instantiation: obmalloc.c:_Py_IS_TYPE_impl
Unexecuted instantiation: picklebufobject.c:_Py_IS_TYPE_impl
rangeobject.c:_Py_IS_TYPE_impl
Line
Count
Source
248
1.88M
{
249
1.88M
    return Py_TYPE(ob) == type;
250
1.88M
}
setobject.c:_Py_IS_TYPE_impl
Line
Count
Source
248
479M
{
249
479M
    return Py_TYPE(ob) == type;
250
479M
}
sliceobject.c:_Py_IS_TYPE_impl
Line
Count
Source
248
100
{
249
100
    return Py_TYPE(ob) == type;
250
100
}
Unexecuted instantiation: structseq.c:_Py_IS_TYPE_impl
Unexecuted instantiation: templateobject.c:_Py_IS_TYPE_impl
tupleobject.c:_Py_IS_TYPE_impl
Line
Count
Source
248
646M
{
249
646M
    return Py_TYPE(ob) == type;
250
646M
}
typeobject.c:_Py_IS_TYPE_impl
Line
Count
Source
248
226M
{
249
226M
    return Py_TYPE(ob) == type;
250
226M
}
typevarobject.c:_Py_IS_TYPE_impl
Line
Count
Source
248
16
{
249
16
    return Py_TYPE(ob) == type;
250
16
}
unicode_format.c:_Py_IS_TYPE_impl
Line
Count
Source
248
36.9M
{
249
36.9M
    return Py_TYPE(ob) == type;
250
36.9M
}
unicode_formatter.c:_Py_IS_TYPE_impl
Line
Count
Source
248
16.4M
{
249
16.4M
    return Py_TYPE(ob) == type;
250
16.4M
}
Unexecuted instantiation: unicode_writer.c:_Py_IS_TYPE_impl
Unexecuted instantiation: unicodectype.c:_Py_IS_TYPE_impl
unicodeobject.c:_Py_IS_TYPE_impl
Line
Count
Source
248
316M
{
249
316M
    return Py_TYPE(ob) == type;
250
316M
}
unionobject.c:_Py_IS_TYPE_impl
Line
Count
Source
248
3.06k
{
249
3.06k
    return Py_TYPE(ob) == type;
250
3.06k
}
weakrefobject.c:_Py_IS_TYPE_impl
Line
Count
Source
248
1.86M
{
249
1.86M
    return Py_TYPE(ob) == type;
250
1.86M
}
_warnings.c:_Py_IS_TYPE_impl
Line
Count
Source
248
3.56M
{
249
3.56M
    return Py_TYPE(ob) == type;
250
3.56M
}
bltinmodule.c:_Py_IS_TYPE_impl
Line
Count
Source
248
1.93G
{
249
1.93G
    return Py_TYPE(ob) == type;
250
1.93G
}
ceval.c:_Py_IS_TYPE_impl
Line
Count
Source
248
3.82G
{
249
3.82G
    return Py_TYPE(ob) == type;
250
3.82G
}
codecs.c:_Py_IS_TYPE_impl
Line
Count
Source
248
2.83M
{
249
2.83M
    return Py_TYPE(ob) == type;
250
2.83M
}
Unexecuted instantiation: codegen.c:_Py_IS_TYPE_impl
compile.c:_Py_IS_TYPE_impl
Line
Count
Source
248
113k
{
249
113k
    return Py_TYPE(ob) == type;
250
113k
}
context.c:_Py_IS_TYPE_impl
Line
Count
Source
248
263k
{
249
263k
    return Py_TYPE(ob) == type;
250
263k
}
Unexecuted instantiation: errors.c:_Py_IS_TYPE_impl
flowgraph.c:_Py_IS_TYPE_impl
Line
Count
Source
248
43.3k
{
249
43.3k
    return Py_TYPE(ob) == type;
250
43.3k
}
Unexecuted instantiation: frame.c:_Py_IS_TYPE_impl
Unexecuted instantiation: future.c:_Py_IS_TYPE_impl
gc.c:_Py_IS_TYPE_impl
Line
Count
Source
248
242M
{
249
242M
    return Py_TYPE(ob) == type;
250
242M
}
Unexecuted instantiation: gc_gil.c:_Py_IS_TYPE_impl
getargs.c:_Py_IS_TYPE_impl
Line
Count
Source
248
10.1M
{
249
10.1M
    return Py_TYPE(ob) == type;
250
10.1M
}
Unexecuted instantiation: ceval_gil.c:_Py_IS_TYPE_impl
Unexecuted instantiation: hamt.c:_Py_IS_TYPE_impl
Unexecuted instantiation: hashtable.c:_Py_IS_TYPE_impl
import.c:_Py_IS_TYPE_impl
Line
Count
Source
248
7.58k
{
249
7.58k
    return Py_TYPE(ob) == type;
250
7.58k
}
importdl.c:_Py_IS_TYPE_impl
Line
Count
Source
248
1.92k
{
249
1.92k
    return Py_TYPE(ob) == type;
250
1.92k
}
initconfig.c:_Py_IS_TYPE_impl
Line
Count
Source
248
288
{
249
288
    return Py_TYPE(ob) == type;
250
288
}
Unexecuted instantiation: instrumentation.c:_Py_IS_TYPE_impl
Unexecuted instantiation: instruction_sequence.c:_Py_IS_TYPE_impl
intrinsics.c:_Py_IS_TYPE_impl
Line
Count
Source
248
34.7k
{
249
34.7k
    return Py_TYPE(ob) == type;
250
34.7k
}
Unexecuted instantiation: legacy_tracing.c:_Py_IS_TYPE_impl
Unexecuted instantiation: lock.c:_Py_IS_TYPE_impl
marshal.c:_Py_IS_TYPE_impl
Line
Count
Source
248
292k
{
249
292k
    return Py_TYPE(ob) == type;
250
292k
}
modsupport.c:_Py_IS_TYPE_impl
Line
Count
Source
248
21.5k
{
249
21.5k
    return Py_TYPE(ob) == type;
250
21.5k
}
Unexecuted instantiation: mysnprintf.c:_Py_IS_TYPE_impl
Unexecuted instantiation: parking_lot.c:_Py_IS_TYPE_impl
Unexecuted instantiation: preconfig.c:_Py_IS_TYPE_impl
Unexecuted instantiation: pyarena.c:_Py_IS_TYPE_impl
Unexecuted instantiation: pyctype.c:_Py_IS_TYPE_impl
Unexecuted instantiation: pyhash.c:_Py_IS_TYPE_impl
Unexecuted instantiation: pylifecycle.c:_Py_IS_TYPE_impl
Unexecuted instantiation: pymath.c:_Py_IS_TYPE_impl
Unexecuted instantiation: pystate.c:_Py_IS_TYPE_impl
Unexecuted instantiation: pythonrun.c:_Py_IS_TYPE_impl
Unexecuted instantiation: pytime.c:_Py_IS_TYPE_impl
Unexecuted instantiation: qsbr.c:_Py_IS_TYPE_impl
Unexecuted instantiation: bootstrap_hash.c:_Py_IS_TYPE_impl
specialize.c:_Py_IS_TYPE_impl
Line
Count
Source
248
180M
{
249
180M
    return Py_TYPE(ob) == type;
250
180M
}
structmember.c:_Py_IS_TYPE_impl
Line
Count
Source
248
5
{
249
5
    return Py_TYPE(ob) == type;
250
5
}
Unexecuted instantiation: symtable.c:_Py_IS_TYPE_impl
sysmodule.c:_Py_IS_TYPE_impl
Line
Count
Source
248
2.15k
{
249
2.15k
    return Py_TYPE(ob) == type;
250
2.15k
}
Unexecuted instantiation: thread.c:_Py_IS_TYPE_impl
traceback.c:_Py_IS_TYPE_impl
Line
Count
Source
248
90.8M
{
249
90.8M
    return Py_TYPE(ob) == type;
250
90.8M
}
Unexecuted instantiation: tracemalloc.c:_Py_IS_TYPE_impl
Unexecuted instantiation: getopt.c:_Py_IS_TYPE_impl
Unexecuted instantiation: pystrcmp.c:_Py_IS_TYPE_impl
Unexecuted instantiation: pystrtod.c:_Py_IS_TYPE_impl
Unexecuted instantiation: pystrhex.c:_Py_IS_TYPE_impl
Unexecuted instantiation: dtoa.c:_Py_IS_TYPE_impl
Unexecuted instantiation: fileutils.c:_Py_IS_TYPE_impl
Unexecuted instantiation: suggestions.c:_Py_IS_TYPE_impl
Unexecuted instantiation: perf_trampoline.c:_Py_IS_TYPE_impl
Unexecuted instantiation: perf_jit_trampoline.c:_Py_IS_TYPE_impl
Unexecuted instantiation: remote_debugging.c:_Py_IS_TYPE_impl
Unexecuted instantiation: dynload_shlib.c:_Py_IS_TYPE_impl
Unexecuted instantiation: config.c:_Py_IS_TYPE_impl
Unexecuted instantiation: gcmodule.c:_Py_IS_TYPE_impl
Unexecuted instantiation: _asynciomodule.c:_Py_IS_TYPE_impl
Unexecuted instantiation: atexitmodule.c:_Py_IS_TYPE_impl
Unexecuted instantiation: faulthandler.c:_Py_IS_TYPE_impl
posixmodule.c:_Py_IS_TYPE_impl
Line
Count
Source
248
620k
{
249
620k
    return Py_TYPE(ob) == type;
250
620k
}
Unexecuted instantiation: signalmodule.c:_Py_IS_TYPE_impl
Unexecuted instantiation: _tracemalloc.c:_Py_IS_TYPE_impl
Unexecuted instantiation: _suggestions.c:_Py_IS_TYPE_impl
_datetimemodule.c:_Py_IS_TYPE_impl
Line
Count
Source
248
21.2k
{
249
21.2k
    return Py_TYPE(ob) == type;
250
21.2k
}
Unexecuted instantiation: _codecsmodule.c:_Py_IS_TYPE_impl
Unexecuted instantiation: _collectionsmodule.c:_Py_IS_TYPE_impl
Unexecuted instantiation: errnomodule.c:_Py_IS_TYPE_impl
Unexecuted instantiation: _iomodule.c:_Py_IS_TYPE_impl
Unexecuted instantiation: iobase.c:_Py_IS_TYPE_impl
fileio.c:_Py_IS_TYPE_impl
Line
Count
Source
248
30.7k
{
249
30.7k
    return Py_TYPE(ob) == type;
250
30.7k
}
bytesio.c:_Py_IS_TYPE_impl
Line
Count
Source
248
46.8k
{
249
46.8k
    return Py_TYPE(ob) == type;
250
46.8k
}
bufferedio.c:_Py_IS_TYPE_impl
Line
Count
Source
248
71.3k
{
249
71.3k
    return Py_TYPE(ob) == type;
250
71.3k
}
textio.c:_Py_IS_TYPE_impl
Line
Count
Source
248
288k
{
249
288k
    return Py_TYPE(ob) == type;
250
288k
}
stringio.c:_Py_IS_TYPE_impl
Line
Count
Source
248
24.2M
{
249
24.2M
    return Py_TYPE(ob) == type;
250
24.2M
}
Unexecuted instantiation: itertoolsmodule.c:_Py_IS_TYPE_impl
sre.c:_Py_IS_TYPE_impl
Line
Count
Source
248
597k
{
249
597k
    return Py_TYPE(ob) == type;
250
597k
}
Unexecuted instantiation: _sysconfig.c:_Py_IS_TYPE_impl
_threadmodule.c:_Py_IS_TYPE_impl
Line
Count
Source
248
12.9M
{
249
12.9M
    return Py_TYPE(ob) == type;
250
12.9M
}
timemodule.c:_Py_IS_TYPE_impl
Line
Count
Source
248
192
{
249
192
    return Py_TYPE(ob) == type;
250
192
}
Unexecuted instantiation: _typesmodule.c:_Py_IS_TYPE_impl
Unexecuted instantiation: _typingmodule.c:_Py_IS_TYPE_impl
_weakref.c:_Py_IS_TYPE_impl
Line
Count
Source
248
14.4k
{
249
14.4k
    return Py_TYPE(ob) == type;
250
14.4k
}
_abc.c:_Py_IS_TYPE_impl
Line
Count
Source
248
111k
{
249
111k
    return Py_TYPE(ob) == type;
250
111k
}
_functoolsmodule.c:_Py_IS_TYPE_impl
Line
Count
Source
248
242k
{
249
242k
    return Py_TYPE(ob) == type;
250
242k
}
Unexecuted instantiation: _localemodule.c:_Py_IS_TYPE_impl
Unexecuted instantiation: _opcode.c:_Py_IS_TYPE_impl
_operator.c:_Py_IS_TYPE_impl
Line
Count
Source
248
1.23M
{
249
1.23M
    return Py_TYPE(ob) == type;
250
1.23M
}
Unexecuted instantiation: _stat.c:_Py_IS_TYPE_impl
Unexecuted instantiation: symtablemodule.c:_Py_IS_TYPE_impl
Unexecuted instantiation: pwdmodule.c:_Py_IS_TYPE_impl
getpath.c:_Py_IS_TYPE_impl
Line
Count
Source
248
36
{
249
36
    return Py_TYPE(ob) == type;
250
36
}
Unexecuted instantiation: frozen.c:_Py_IS_TYPE_impl
Unexecuted instantiation: getbuildinfo.c:_Py_IS_TYPE_impl
Unexecuted instantiation: peg_api.c:_Py_IS_TYPE_impl
Unexecuted instantiation: file_tokenizer.c:_Py_IS_TYPE_impl
Unexecuted instantiation: helpers.c:_Py_IS_TYPE_impl
Unexecuted instantiation: myreadline.c:_Py_IS_TYPE_impl
abstract.c:_Py_IS_TYPE_impl
Line
Count
Source
248
487M
{
249
487M
    return Py_TYPE(ob) == type;
250
487M
}
Unexecuted instantiation: boolobject.c:_Py_IS_TYPE_impl
Unexecuted instantiation: bytes_methods.c:_Py_IS_TYPE_impl
bytearrayobject.c:_Py_IS_TYPE_impl
Line
Count
Source
248
126M
{
249
126M
    return Py_TYPE(ob) == type;
250
126M
}
capsule.c:_Py_IS_TYPE_impl
Line
Count
Source
248
9.81k
{
249
9.81k
    return Py_TYPE(ob) == type;
250
9.81k
}
cellobject.c:_Py_IS_TYPE_impl
Line
Count
Source
248
9.78k
{
249
9.78k
    return Py_TYPE(ob) == type;
250
9.78k
}
Unexecuted instantiation: classobject.c:_Py_IS_TYPE_impl
codeobject.c:_Py_IS_TYPE_impl
Line
Count
Source
248
4.39M
{
249
4.39M
    return Py_TYPE(ob) == type;
250
4.39M
}
complexobject.c:_Py_IS_TYPE_impl
Line
Count
Source
248
7.54k
{
249
7.54k
    return Py_TYPE(ob) == type;
250
7.54k
}
descrobject.c:_Py_IS_TYPE_impl
Line
Count
Source
248
348M
{
249
348M
    return Py_TYPE(ob) == type;
250
348M
}
Unexecuted instantiation: enumobject.c:_Py_IS_TYPE_impl
genobject.c:_Py_IS_TYPE_impl
Line
Count
Source
248
57.5M
{
249
57.5M
    return Py_TYPE(ob) == type;
250
57.5M
}
Unexecuted instantiation: fileobject.c:_Py_IS_TYPE_impl
frameobject.c:_Py_IS_TYPE_impl
Line
Count
Source
248
44
{
249
44
    return Py_TYPE(ob) == type;
250
44
}
funcobject.c:_Py_IS_TYPE_impl
Line
Count
Source
248
22.4k
{
249
22.4k
    return Py_TYPE(ob) == type;
250
22.4k
}
Unexecuted instantiation: interpolationobject.c:_Py_IS_TYPE_impl
Unexecuted instantiation: iterobject.c:_Py_IS_TYPE_impl
Unexecuted instantiation: lazyimportobject.c:_Py_IS_TYPE_impl
odictobject.c:_Py_IS_TYPE_impl
Line
Count
Source
248
29.8k
{
249
29.8k
    return Py_TYPE(ob) == type;
250
29.8k
}
methodobject.c:_Py_IS_TYPE_impl
Line
Count
Source
248
161k
{
249
161k
    return Py_TYPE(ob) == type;
250
161k
}
Unexecuted instantiation: namespaceobject.c:_Py_IS_TYPE_impl
Unexecuted instantiation: _contextvars.c:_Py_IS_TYPE_impl
Python-ast.c:_Py_IS_TYPE_impl
Line
Count
Source
248
300
{
249
300
    return Py_TYPE(ob) == type;
250
300
}
Unexecuted instantiation: Python-tokenize.c:_Py_IS_TYPE_impl
Unexecuted instantiation: asdl.c:_Py_IS_TYPE_impl
Unexecuted instantiation: assemble.c:_Py_IS_TYPE_impl
ast.c:_Py_IS_TYPE_impl
Line
Count
Source
248
6.68k
{
249
6.68k
    return Py_TYPE(ob) == type;
250
6.68k
}
Unexecuted instantiation: ast_preprocess.c:_Py_IS_TYPE_impl
Unexecuted instantiation: ast_unparse.c:_Py_IS_TYPE_impl
Unexecuted instantiation: critical_section.c:_Py_IS_TYPE_impl
Unexecuted instantiation: crossinterp.c:_Py_IS_TYPE_impl
Unexecuted instantiation: getcopyright.c:_Py_IS_TYPE_impl
Unexecuted instantiation: getplatform.c:_Py_IS_TYPE_impl
Unexecuted instantiation: getversion.c:_Py_IS_TYPE_impl
Unexecuted instantiation: optimizer.c:_Py_IS_TYPE_impl
Unexecuted instantiation: pathconfig.c:_Py_IS_TYPE_impl
pegen.c:_Py_IS_TYPE_impl
Line
Count
Source
248
89.8k
{
249
89.8k
    return Py_TYPE(ob) == type;
250
89.8k
}
Unexecuted instantiation: pegen_errors.c:_Py_IS_TYPE_impl
Unexecuted instantiation: parser.c:_Py_IS_TYPE_impl
Unexecuted instantiation: buffer.c:_Py_IS_TYPE_impl
Unexecuted instantiation: lexer.c:_Py_IS_TYPE_impl
Unexecuted instantiation: state.c:_Py_IS_TYPE_impl
Unexecuted instantiation: readline_tokenizer.c:_Py_IS_TYPE_impl
Unexecuted instantiation: string_tokenizer.c:_Py_IS_TYPE_impl
Unexecuted instantiation: utf8_tokenizer.c:_Py_IS_TYPE_impl
Unexecuted instantiation: getcompiler.c:_Py_IS_TYPE_impl
Unexecuted instantiation: mystrtoul.c:_Py_IS_TYPE_impl
Unexecuted instantiation: token.c:_Py_IS_TYPE_impl
action_helpers.c:_Py_IS_TYPE_impl
Line
Count
Source
248
155k
{
249
155k
    return Py_TYPE(ob) == type;
250
155k
}
Unexecuted instantiation: string_parser.c:_Py_IS_TYPE_impl
251
252
static inline void
253
_Py_SET_SIZE_impl(PyVarObject *ob, Py_ssize_t size)
254
1.53G
{
255
1.53G
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
256
1.53G
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
257
#ifdef Py_GIL_DISABLED
258
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
259
#else
260
1.53G
    ob->ob_size = size;
261
1.53G
#endif
262
1.53G
}
bytesobject.c:_Py_SET_SIZE_impl
Line
Count
Source
254
162M
{
255
162M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
256
162M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
257
#ifdef Py_GIL_DISABLED
258
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
259
#else
260
162M
    ob->ob_size = size;
261
162M
#endif
262
162M
}
Unexecuted instantiation: call.c:_Py_SET_SIZE_impl
Unexecuted instantiation: exceptions.c:_Py_SET_SIZE_impl
Unexecuted instantiation: genericaliasobject.c:_Py_SET_SIZE_impl
Unexecuted instantiation: floatobject.c:_Py_SET_SIZE_impl
listobject.c:_Py_SET_SIZE_impl
Line
Count
Source
254
741M
{
255
741M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
256
741M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
257
#ifdef Py_GIL_DISABLED
258
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
259
#else
260
741M
    ob->ob_size = size;
261
741M
#endif
262
741M
}
Unexecuted instantiation: longobject.c:_Py_SET_SIZE_impl
Unexecuted instantiation: dictobject.c:_Py_SET_SIZE_impl
Unexecuted instantiation: memoryobject.c:_Py_SET_SIZE_impl
Unexecuted instantiation: moduleobject.c:_Py_SET_SIZE_impl
object.c:_Py_SET_SIZE_impl
Line
Count
Source
254
183k
{
255
183k
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
256
183k
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
257
#ifdef Py_GIL_DISABLED
258
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
259
#else
260
183k
    ob->ob_size = size;
261
183k
#endif
262
183k
}
Unexecuted instantiation: obmalloc.c:_Py_SET_SIZE_impl
Unexecuted instantiation: picklebufobject.c:_Py_SET_SIZE_impl
Unexecuted instantiation: rangeobject.c:_Py_SET_SIZE_impl
Unexecuted instantiation: setobject.c:_Py_SET_SIZE_impl
Unexecuted instantiation: sliceobject.c:_Py_SET_SIZE_impl
structseq.c:_Py_SET_SIZE_impl
Line
Count
Source
254
479k
{
255
479k
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
256
479k
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
257
#ifdef Py_GIL_DISABLED
258
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
259
#else
260
479k
    ob->ob_size = size;
261
479k
#endif
262
479k
}
Unexecuted instantiation: templateobject.c:_Py_SET_SIZE_impl
Unexecuted instantiation: tupleobject.c:_Py_SET_SIZE_impl
typeobject.c:_Py_SET_SIZE_impl
Line
Count
Source
254
853k
{
255
853k
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
256
853k
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
257
#ifdef Py_GIL_DISABLED
258
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
259
#else
260
853k
    ob->ob_size = size;
261
853k
#endif
262
853k
}
Unexecuted instantiation: typevarobject.c:_Py_SET_SIZE_impl
Unexecuted instantiation: unicode_format.c:_Py_SET_SIZE_impl
Unexecuted instantiation: unicode_formatter.c:_Py_SET_SIZE_impl
Unexecuted instantiation: unicode_writer.c:_Py_SET_SIZE_impl
Unexecuted instantiation: unicodectype.c:_Py_SET_SIZE_impl
unicodeobject.c:_Py_SET_SIZE_impl
Line
Count
Source
254
20.9M
{
255
20.9M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
256
20.9M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
257
#ifdef Py_GIL_DISABLED
258
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
259
#else
260
20.9M
    ob->ob_size = size;
261
20.9M
#endif
262
20.9M
}
Unexecuted instantiation: unionobject.c:_Py_SET_SIZE_impl
Unexecuted instantiation: weakrefobject.c:_Py_SET_SIZE_impl
Unexecuted instantiation: _warnings.c:_Py_SET_SIZE_impl
Unexecuted instantiation: bltinmodule.c:_Py_SET_SIZE_impl
ceval.c:_Py_SET_SIZE_impl
Line
Count
Source
254
214M
{
255
214M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
256
214M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
257
#ifdef Py_GIL_DISABLED
258
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
259
#else
260
214M
    ob->ob_size = size;
261
214M
#endif
262
214M
}
Unexecuted instantiation: codecs.c:_Py_SET_SIZE_impl
Unexecuted instantiation: codegen.c:_Py_SET_SIZE_impl
Unexecuted instantiation: compile.c:_Py_SET_SIZE_impl
Unexecuted instantiation: context.c:_Py_SET_SIZE_impl
Unexecuted instantiation: errors.c:_Py_SET_SIZE_impl
Unexecuted instantiation: flowgraph.c:_Py_SET_SIZE_impl
Unexecuted instantiation: frame.c:_Py_SET_SIZE_impl
Unexecuted instantiation: future.c:_Py_SET_SIZE_impl
gc.c:_Py_SET_SIZE_impl
Line
Count
Source
254
244M
{
255
244M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
256
244M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
257
#ifdef Py_GIL_DISABLED
258
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
259
#else
260
244M
    ob->ob_size = size;
261
244M
#endif
262
244M
}
Unexecuted instantiation: gc_gil.c:_Py_SET_SIZE_impl
Unexecuted instantiation: getargs.c:_Py_SET_SIZE_impl
Unexecuted instantiation: ceval_gil.c:_Py_SET_SIZE_impl
Unexecuted instantiation: hamt.c:_Py_SET_SIZE_impl
Unexecuted instantiation: hashtable.c:_Py_SET_SIZE_impl
Unexecuted instantiation: import.c:_Py_SET_SIZE_impl
Unexecuted instantiation: importdl.c:_Py_SET_SIZE_impl
Unexecuted instantiation: initconfig.c:_Py_SET_SIZE_impl
Unexecuted instantiation: instrumentation.c:_Py_SET_SIZE_impl
Unexecuted instantiation: instruction_sequence.c:_Py_SET_SIZE_impl
Unexecuted instantiation: intrinsics.c:_Py_SET_SIZE_impl
Unexecuted instantiation: legacy_tracing.c:_Py_SET_SIZE_impl
Unexecuted instantiation: lock.c:_Py_SET_SIZE_impl
Unexecuted instantiation: marshal.c:_Py_SET_SIZE_impl
Unexecuted instantiation: modsupport.c:_Py_SET_SIZE_impl
Unexecuted instantiation: mysnprintf.c:_Py_SET_SIZE_impl
Unexecuted instantiation: parking_lot.c:_Py_SET_SIZE_impl
Unexecuted instantiation: preconfig.c:_Py_SET_SIZE_impl
Unexecuted instantiation: pyarena.c:_Py_SET_SIZE_impl
Unexecuted instantiation: pyctype.c:_Py_SET_SIZE_impl
Unexecuted instantiation: pyhash.c:_Py_SET_SIZE_impl
Unexecuted instantiation: pylifecycle.c:_Py_SET_SIZE_impl
Unexecuted instantiation: pymath.c:_Py_SET_SIZE_impl
Unexecuted instantiation: pystate.c:_Py_SET_SIZE_impl
Unexecuted instantiation: pythonrun.c:_Py_SET_SIZE_impl
Unexecuted instantiation: pytime.c:_Py_SET_SIZE_impl
Unexecuted instantiation: qsbr.c:_Py_SET_SIZE_impl
Unexecuted instantiation: bootstrap_hash.c:_Py_SET_SIZE_impl
Unexecuted instantiation: specialize.c:_Py_SET_SIZE_impl
Unexecuted instantiation: structmember.c:_Py_SET_SIZE_impl
Unexecuted instantiation: symtable.c:_Py_SET_SIZE_impl
Unexecuted instantiation: sysmodule.c:_Py_SET_SIZE_impl
Unexecuted instantiation: thread.c:_Py_SET_SIZE_impl
Unexecuted instantiation: traceback.c:_Py_SET_SIZE_impl
Unexecuted instantiation: tracemalloc.c:_Py_SET_SIZE_impl
Unexecuted instantiation: getopt.c:_Py_SET_SIZE_impl
Unexecuted instantiation: pystrcmp.c:_Py_SET_SIZE_impl
Unexecuted instantiation: pystrtod.c:_Py_SET_SIZE_impl
Unexecuted instantiation: pystrhex.c:_Py_SET_SIZE_impl
Unexecuted instantiation: dtoa.c:_Py_SET_SIZE_impl
Unexecuted instantiation: fileutils.c:_Py_SET_SIZE_impl
Unexecuted instantiation: suggestions.c:_Py_SET_SIZE_impl
Unexecuted instantiation: perf_trampoline.c:_Py_SET_SIZE_impl
Unexecuted instantiation: perf_jit_trampoline.c:_Py_SET_SIZE_impl
Unexecuted instantiation: remote_debugging.c:_Py_SET_SIZE_impl
Unexecuted instantiation: dynload_shlib.c:_Py_SET_SIZE_impl
Unexecuted instantiation: config.c:_Py_SET_SIZE_impl
Unexecuted instantiation: gcmodule.c:_Py_SET_SIZE_impl
Unexecuted instantiation: _asynciomodule.c:_Py_SET_SIZE_impl
Unexecuted instantiation: atexitmodule.c:_Py_SET_SIZE_impl
Unexecuted instantiation: faulthandler.c:_Py_SET_SIZE_impl
Unexecuted instantiation: posixmodule.c:_Py_SET_SIZE_impl
Unexecuted instantiation: signalmodule.c:_Py_SET_SIZE_impl
Unexecuted instantiation: _tracemalloc.c:_Py_SET_SIZE_impl
Unexecuted instantiation: _suggestions.c:_Py_SET_SIZE_impl
Unexecuted instantiation: _datetimemodule.c:_Py_SET_SIZE_impl
Unexecuted instantiation: _codecsmodule.c:_Py_SET_SIZE_impl
_collectionsmodule.c:_Py_SET_SIZE_impl
Line
Count
Source
254
84.2M
{
255
84.2M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
256
84.2M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
257
#ifdef Py_GIL_DISABLED
258
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
259
#else
260
84.2M
    ob->ob_size = size;
261
84.2M
#endif
262
84.2M
}
Unexecuted instantiation: errnomodule.c:_Py_SET_SIZE_impl
Unexecuted instantiation: _iomodule.c:_Py_SET_SIZE_impl
Unexecuted instantiation: iobase.c:_Py_SET_SIZE_impl
Unexecuted instantiation: fileio.c:_Py_SET_SIZE_impl
Unexecuted instantiation: bytesio.c:_Py_SET_SIZE_impl
Unexecuted instantiation: bufferedio.c:_Py_SET_SIZE_impl
Unexecuted instantiation: textio.c:_Py_SET_SIZE_impl
Unexecuted instantiation: stringio.c:_Py_SET_SIZE_impl
Unexecuted instantiation: itertoolsmodule.c:_Py_SET_SIZE_impl
Unexecuted instantiation: sre.c:_Py_SET_SIZE_impl
Unexecuted instantiation: _sysconfig.c:_Py_SET_SIZE_impl
Unexecuted instantiation: _threadmodule.c:_Py_SET_SIZE_impl
Unexecuted instantiation: timemodule.c:_Py_SET_SIZE_impl
Unexecuted instantiation: _typesmodule.c:_Py_SET_SIZE_impl
Unexecuted instantiation: _typingmodule.c:_Py_SET_SIZE_impl
Unexecuted instantiation: _weakref.c:_Py_SET_SIZE_impl
Unexecuted instantiation: _abc.c:_Py_SET_SIZE_impl
Unexecuted instantiation: _functoolsmodule.c:_Py_SET_SIZE_impl
Unexecuted instantiation: _localemodule.c:_Py_SET_SIZE_impl
Unexecuted instantiation: _opcode.c:_Py_SET_SIZE_impl
Unexecuted instantiation: _operator.c:_Py_SET_SIZE_impl
Unexecuted instantiation: _stat.c:_Py_SET_SIZE_impl
Unexecuted instantiation: symtablemodule.c:_Py_SET_SIZE_impl
Unexecuted instantiation: pwdmodule.c:_Py_SET_SIZE_impl
Unexecuted instantiation: getpath.c:_Py_SET_SIZE_impl
Unexecuted instantiation: frozen.c:_Py_SET_SIZE_impl
Unexecuted instantiation: getbuildinfo.c:_Py_SET_SIZE_impl
Unexecuted instantiation: peg_api.c:_Py_SET_SIZE_impl
Unexecuted instantiation: file_tokenizer.c:_Py_SET_SIZE_impl
Unexecuted instantiation: helpers.c:_Py_SET_SIZE_impl
Unexecuted instantiation: myreadline.c:_Py_SET_SIZE_impl
abstract.c:_Py_SET_SIZE_impl
Line
Count
Source
254
6.27M
{
255
6.27M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
256
6.27M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
257
#ifdef Py_GIL_DISABLED
258
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
259
#else
260
6.27M
    ob->ob_size = size;
261
6.27M
#endif
262
6.27M
}
Unexecuted instantiation: boolobject.c:_Py_SET_SIZE_impl
Unexecuted instantiation: bytes_methods.c:_Py_SET_SIZE_impl
bytearrayobject.c:_Py_SET_SIZE_impl
Line
Count
Source
254
59.5M
{
255
59.5M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
256
59.5M
    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyBool_Type);
257
#ifdef Py_GIL_DISABLED
258
    _Py_atomic_store_ssize_relaxed(&ob->ob_size, size);
259
#else
260
59.5M
    ob->ob_size = size;
261
59.5M
#endif
262
59.5M
}
Unexecuted instantiation: capsule.c:_Py_SET_SIZE_impl
Unexecuted instantiation: cellobject.c:_Py_SET_SIZE_impl
Unexecuted instantiation: classobject.c:_Py_SET_SIZE_impl
Unexecuted instantiation: codeobject.c:_Py_SET_SIZE_impl
Unexecuted instantiation: complexobject.c:_Py_SET_SIZE_impl
Unexecuted instantiation: descrobject.c:_Py_SET_SIZE_impl
Unexecuted instantiation: enumobject.c:_Py_SET_SIZE_impl
Unexecuted instantiation: genobject.c:_Py_SET_SIZE_impl
Unexecuted instantiation: fileobject.c:_Py_SET_SIZE_impl
Unexecuted instantiation: frameobject.c:_Py_SET_SIZE_impl
Unexecuted instantiation: funcobject.c:_Py_SET_SIZE_impl
Unexecuted instantiation: interpolationobject.c:_Py_SET_SIZE_impl
Unexecuted instantiation: iterobject.c:_Py_SET_SIZE_impl
Unexecuted instantiation: lazyimportobject.c:_Py_SET_SIZE_impl
Unexecuted instantiation: odictobject.c:_Py_SET_SIZE_impl
Unexecuted instantiation: methodobject.c:_Py_SET_SIZE_impl
Unexecuted instantiation: namespaceobject.c:_Py_SET_SIZE_impl
Unexecuted instantiation: _contextvars.c:_Py_SET_SIZE_impl
Unexecuted instantiation: Python-ast.c:_Py_SET_SIZE_impl
Unexecuted instantiation: Python-tokenize.c:_Py_SET_SIZE_impl
Unexecuted instantiation: asdl.c:_Py_SET_SIZE_impl
Unexecuted instantiation: assemble.c:_Py_SET_SIZE_impl
Unexecuted instantiation: ast.c:_Py_SET_SIZE_impl
Unexecuted instantiation: ast_preprocess.c:_Py_SET_SIZE_impl
Unexecuted instantiation: ast_unparse.c:_Py_SET_SIZE_impl
Unexecuted instantiation: critical_section.c:_Py_SET_SIZE_impl
Unexecuted instantiation: crossinterp.c:_Py_SET_SIZE_impl
Unexecuted instantiation: getcopyright.c:_Py_SET_SIZE_impl
Unexecuted instantiation: getplatform.c:_Py_SET_SIZE_impl
Unexecuted instantiation: getversion.c:_Py_SET_SIZE_impl
Unexecuted instantiation: optimizer.c:_Py_SET_SIZE_impl
Unexecuted instantiation: pathconfig.c:_Py_SET_SIZE_impl
Unexecuted instantiation: pegen.c:_Py_SET_SIZE_impl
Unexecuted instantiation: pegen_errors.c:_Py_SET_SIZE_impl
Unexecuted instantiation: parser.c:_Py_SET_SIZE_impl
Unexecuted instantiation: buffer.c:_Py_SET_SIZE_impl
Unexecuted instantiation: lexer.c:_Py_SET_SIZE_impl
Unexecuted instantiation: state.c:_Py_SET_SIZE_impl
Unexecuted instantiation: readline_tokenizer.c:_Py_SET_SIZE_impl
Unexecuted instantiation: string_tokenizer.c:_Py_SET_SIZE_impl
Unexecuted instantiation: utf8_tokenizer.c:_Py_SET_SIZE_impl
Unexecuted instantiation: getcompiler.c:_Py_SET_SIZE_impl
Unexecuted instantiation: mystrtoul.c:_Py_SET_SIZE_impl
Unexecuted instantiation: token.c:_Py_SET_SIZE_impl
Unexecuted instantiation: action_helpers.c:_Py_SET_SIZE_impl
Unexecuted instantiation: string_parser.c:_Py_SET_SIZE_impl
263
264
#endif // !defined(_Py_OPAQUE_PYOBJECT)
265
266
267
/*
268
Type objects contain a string containing the type name (to help somewhat
269
in debugging), the allocation parameters (see PyObject_New() and
270
PyObject_NewVar()),
271
and methods for accessing objects of the type.  Methods are optional, a
272
nil pointer meaning that particular kind of access is not available for
273
this type.  The Py_DECREF() macro uses the tp_dealloc method without
274
checking for a nil pointer; it should always be implemented except if
275
the implementation can guarantee that the reference count will never
276
reach zero (e.g., for statically allocated type objects).
277
278
NB: the methods for certain type groups are now contained in separate
279
method blocks.
280
*/
281
282
typedef PyObject * (*unaryfunc)(PyObject *);
283
typedef PyObject * (*binaryfunc)(PyObject *, PyObject *);
284
typedef PyObject * (*ternaryfunc)(PyObject *, PyObject *, PyObject *);
285
typedef int (*inquiry)(PyObject *);
286
typedef Py_ssize_t (*lenfunc)(PyObject *);
287
typedef PyObject *(*ssizeargfunc)(PyObject *, Py_ssize_t);
288
typedef PyObject *(*ssizessizeargfunc)(PyObject *, Py_ssize_t, Py_ssize_t);
289
typedef int(*ssizeobjargproc)(PyObject *, Py_ssize_t, PyObject *);
290
typedef int(*ssizessizeobjargproc)(PyObject *, Py_ssize_t, Py_ssize_t, PyObject *);
291
typedef int(*objobjargproc)(PyObject *, PyObject *, PyObject *);
292
293
typedef int (*objobjproc)(PyObject *, PyObject *);
294
typedef int (*visitproc)(PyObject *, void *);
295
typedef int (*traverseproc)(PyObject *, visitproc, void *);
296
297
298
typedef void (*freefunc)(void *);
299
typedef void (*destructor)(PyObject *);
300
typedef PyObject *(*getattrfunc)(PyObject *, char *);
301
typedef PyObject *(*getattrofunc)(PyObject *, PyObject *);
302
typedef int (*setattrfunc)(PyObject *, char *, PyObject *);
303
typedef int (*setattrofunc)(PyObject *, PyObject *, PyObject *);
304
typedef PyObject *(*reprfunc)(PyObject *);
305
typedef Py_hash_t (*hashfunc)(PyObject *);
306
typedef PyObject *(*richcmpfunc) (PyObject *, PyObject *, int);
307
typedef PyObject *(*getiterfunc) (PyObject *);
308
typedef PyObject *(*iternextfunc) (PyObject *);
309
typedef struct {
310
    PyObject *object;
311
    Py_ssize_t index;
312
} _PyObjectIndexPair;
313
typedef _PyObjectIndexPair (*_Py_iteritemfunc) (PyObject *, Py_ssize_t index);
314
typedef PyObject *(*descrgetfunc) (PyObject *, PyObject *, PyObject *);
315
typedef int (*descrsetfunc) (PyObject *, PyObject *, PyObject *);
316
typedef int (*initproc)(PyObject *, PyObject *, PyObject *);
317
typedef PyObject *(*newfunc)(PyTypeObject *, PyObject *, PyObject *);
318
typedef PyObject *(*allocfunc)(PyTypeObject *, Py_ssize_t);
319
320
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030c0000 // 3.12
321
typedef PyObject *(*vectorcallfunc)(PyObject *callable, PyObject *const *args,
322
                                    size_t nargsf, PyObject *kwnames);
323
#endif
324
325
typedef struct{
326
    int slot;    /* slot id, see below */
327
    void *pfunc; /* function pointer */
328
} PyType_Slot;
329
330
typedef struct{
331
    const char* name;
332
    int basicsize;
333
    int itemsize;
334
    unsigned int flags;
335
    PyType_Slot *slots; /* terminated by slot==0. */
336
} PyType_Spec;
337
338
PyAPI_FUNC(PyObject*) PyType_FromSpec(PyType_Spec*);
339
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03030000
340
PyAPI_FUNC(PyObject*) PyType_FromSpecWithBases(PyType_Spec*, PyObject*);
341
#endif
342
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03040000
343
PyAPI_FUNC(void*) PyType_GetSlot(PyTypeObject*, int);
344
#endif
345
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03090000
346
PyAPI_FUNC(PyObject*) PyType_FromModuleAndSpec(PyObject *, PyType_Spec *, PyObject *);
347
PyAPI_FUNC(PyObject *) PyType_GetModule(PyTypeObject *);
348
PyAPI_FUNC(void *) PyType_GetModuleState(PyTypeObject *);
349
#endif
350
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030B0000
351
PyAPI_FUNC(PyObject *) PyType_GetName(PyTypeObject *);
352
PyAPI_FUNC(PyObject *) PyType_GetQualName(PyTypeObject *);
353
#endif
354
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030D0000
355
PyAPI_FUNC(PyObject *) PyType_GetFullyQualifiedName(PyTypeObject *type);
356
PyAPI_FUNC(PyObject *) PyType_GetModuleName(PyTypeObject *type);
357
#endif
358
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030C0000
359
PyAPI_FUNC(PyObject *) PyType_FromMetaclass(PyTypeObject*, PyObject*, PyType_Spec*, PyObject*);
360
PyAPI_FUNC(void *) PyObject_GetTypeData(PyObject *obj, PyTypeObject *cls);
361
PyAPI_FUNC(Py_ssize_t) PyType_GetTypeDataSize(PyTypeObject *cls);
362
#endif
363
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030E0000
364
PyAPI_FUNC(int) PyType_GetBaseByToken(PyTypeObject *, void *, PyTypeObject **);
365
33
#define Py_TP_USE_SPEC NULL
366
#endif
367
368
/* Generic type check */
369
PyAPI_FUNC(int) PyType_IsSubtype(PyTypeObject *, PyTypeObject *);
370
371
765M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
372
765M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
373
765M
}
Unexecuted instantiation: bytesobject.c:PyObject_TypeCheck
Unexecuted instantiation: call.c:PyObject_TypeCheck
exceptions.c:PyObject_TypeCheck
Line
Count
Source
371
1.15M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
372
1.15M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
373
1.15M
}
genericaliasobject.c:PyObject_TypeCheck
Line
Count
Source
371
152
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
372
152
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
373
152
}
floatobject.c:PyObject_TypeCheck
Line
Count
Source
371
10.9M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
372
10.9M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
373
10.9M
}
Unexecuted instantiation: listobject.c:PyObject_TypeCheck
longobject.c:PyObject_TypeCheck
Line
Count
Source
371
4.59M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
372
4.59M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
373
4.59M
}
dictobject.c:PyObject_TypeCheck
Line
Count
Source
371
25.2M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
372
25.2M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
373
25.2M
}
Unexecuted instantiation: memoryobject.c:PyObject_TypeCheck
moduleobject.c:PyObject_TypeCheck
Line
Count
Source
371
28.0M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
372
28.0M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
373
28.0M
}
Unexecuted instantiation: object.c:PyObject_TypeCheck
Unexecuted instantiation: obmalloc.c:PyObject_TypeCheck
Unexecuted instantiation: picklebufobject.c:PyObject_TypeCheck
Unexecuted instantiation: rangeobject.c:PyObject_TypeCheck
Unexecuted instantiation: setobject.c:PyObject_TypeCheck
Unexecuted instantiation: sliceobject.c:PyObject_TypeCheck
Unexecuted instantiation: structseq.c:PyObject_TypeCheck
Unexecuted instantiation: templateobject.c:PyObject_TypeCheck
Unexecuted instantiation: tupleobject.c:PyObject_TypeCheck
typeobject.c:PyObject_TypeCheck
Line
Count
Source
371
143M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
372
143M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
373
143M
}
Unexecuted instantiation: typevarobject.c:PyObject_TypeCheck
Unexecuted instantiation: unicode_format.c:PyObject_TypeCheck
Unexecuted instantiation: unicode_formatter.c:PyObject_TypeCheck
Unexecuted instantiation: unicode_writer.c:PyObject_TypeCheck
Unexecuted instantiation: unicodectype.c:PyObject_TypeCheck
Unexecuted instantiation: unicodeobject.c:PyObject_TypeCheck
unionobject.c:PyObject_TypeCheck
Line
Count
Source
371
316
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
372
316
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
373
316
}
weakrefobject.c:PyObject_TypeCheck
Line
Count
Source
371
871k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
372
871k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
373
871k
}
_warnings.c:PyObject_TypeCheck
Line
Count
Source
371
2.21M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
372
2.21M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
373
2.21M
}
bltinmodule.c:PyObject_TypeCheck
Line
Count
Source
371
8.80M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
372
8.80M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
373
8.80M
}
ceval.c:PyObject_TypeCheck
Line
Count
Source
371
30
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
372
30
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
373
30
}
codecs.c:PyObject_TypeCheck
Line
Count
Source
371
571k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
372
571k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
373
571k
}
Unexecuted instantiation: codegen.c:PyObject_TypeCheck
Unexecuted instantiation: compile.c:PyObject_TypeCheck
Unexecuted instantiation: context.c:PyObject_TypeCheck
Unexecuted instantiation: errors.c:PyObject_TypeCheck
Unexecuted instantiation: flowgraph.c:PyObject_TypeCheck
Unexecuted instantiation: frame.c:PyObject_TypeCheck
Unexecuted instantiation: future.c:PyObject_TypeCheck
gc.c:PyObject_TypeCheck
Line
Count
Source
371
8.63M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
372
8.63M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
373
8.63M
}
Unexecuted instantiation: gc_gil.c:PyObject_TypeCheck
Unexecuted instantiation: getargs.c:PyObject_TypeCheck
Unexecuted instantiation: ceval_gil.c:PyObject_TypeCheck
Unexecuted instantiation: hamt.c:PyObject_TypeCheck
Unexecuted instantiation: hashtable.c:PyObject_TypeCheck
import.c:PyObject_TypeCheck
Line
Count
Source
371
6.95k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
372
6.95k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
373
6.95k
}
importdl.c:PyObject_TypeCheck
Line
Count
Source
371
962
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
372
962
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
373
962
}
Unexecuted instantiation: initconfig.c:PyObject_TypeCheck
Unexecuted instantiation: instrumentation.c:PyObject_TypeCheck
Unexecuted instantiation: instruction_sequence.c:PyObject_TypeCheck
Unexecuted instantiation: intrinsics.c:PyObject_TypeCheck
Unexecuted instantiation: legacy_tracing.c:PyObject_TypeCheck
Unexecuted instantiation: lock.c:PyObject_TypeCheck
Unexecuted instantiation: marshal.c:PyObject_TypeCheck
modsupport.c:PyObject_TypeCheck
Line
Count
Source
371
21.5k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
372
21.5k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
373
21.5k
}
Unexecuted instantiation: mysnprintf.c:PyObject_TypeCheck
Unexecuted instantiation: parking_lot.c:PyObject_TypeCheck
Unexecuted instantiation: preconfig.c:PyObject_TypeCheck
Unexecuted instantiation: pyarena.c:PyObject_TypeCheck
Unexecuted instantiation: pyctype.c:PyObject_TypeCheck
Unexecuted instantiation: pyhash.c:PyObject_TypeCheck
Unexecuted instantiation: pylifecycle.c:PyObject_TypeCheck
Unexecuted instantiation: pymath.c:PyObject_TypeCheck
Unexecuted instantiation: pystate.c:PyObject_TypeCheck
Unexecuted instantiation: pythonrun.c:PyObject_TypeCheck
Unexecuted instantiation: pytime.c:PyObject_TypeCheck
Unexecuted instantiation: qsbr.c:PyObject_TypeCheck
Unexecuted instantiation: bootstrap_hash.c:PyObject_TypeCheck
specialize.c:PyObject_TypeCheck
Line
Count
Source
371
20.4k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
372
20.4k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
373
20.4k
}
Unexecuted instantiation: structmember.c:PyObject_TypeCheck
Unexecuted instantiation: symtable.c:PyObject_TypeCheck
Unexecuted instantiation: sysmodule.c:PyObject_TypeCheck
Unexecuted instantiation: thread.c:PyObject_TypeCheck
Unexecuted instantiation: traceback.c:PyObject_TypeCheck
Unexecuted instantiation: tracemalloc.c:PyObject_TypeCheck
Unexecuted instantiation: getopt.c:PyObject_TypeCheck
Unexecuted instantiation: pystrcmp.c:PyObject_TypeCheck
Unexecuted instantiation: pystrtod.c:PyObject_TypeCheck
Unexecuted instantiation: pystrhex.c:PyObject_TypeCheck
Unexecuted instantiation: dtoa.c:PyObject_TypeCheck
Unexecuted instantiation: fileutils.c:PyObject_TypeCheck
Unexecuted instantiation: suggestions.c:PyObject_TypeCheck
Unexecuted instantiation: perf_trampoline.c:PyObject_TypeCheck
Unexecuted instantiation: perf_jit_trampoline.c:PyObject_TypeCheck
Unexecuted instantiation: remote_debugging.c:PyObject_TypeCheck
Unexecuted instantiation: dynload_shlib.c:PyObject_TypeCheck
Unexecuted instantiation: config.c:PyObject_TypeCheck
Unexecuted instantiation: gcmodule.c:PyObject_TypeCheck
Unexecuted instantiation: _asynciomodule.c:PyObject_TypeCheck
Unexecuted instantiation: atexitmodule.c:PyObject_TypeCheck
Unexecuted instantiation: faulthandler.c:PyObject_TypeCheck
Unexecuted instantiation: posixmodule.c:PyObject_TypeCheck
Unexecuted instantiation: signalmodule.c:PyObject_TypeCheck
Unexecuted instantiation: _tracemalloc.c:PyObject_TypeCheck
Unexecuted instantiation: _suggestions.c:PyObject_TypeCheck
_datetimemodule.c:PyObject_TypeCheck
Line
Count
Source
371
21.2k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
372
21.2k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
373
21.2k
}
Unexecuted instantiation: _codecsmodule.c:PyObject_TypeCheck
Unexecuted instantiation: _collectionsmodule.c:PyObject_TypeCheck
Unexecuted instantiation: errnomodule.c:PyObject_TypeCheck
Unexecuted instantiation: _iomodule.c:PyObject_TypeCheck
Unexecuted instantiation: iobase.c:PyObject_TypeCheck
Unexecuted instantiation: fileio.c:PyObject_TypeCheck
Unexecuted instantiation: bytesio.c:PyObject_TypeCheck
Unexecuted instantiation: bufferedio.c:PyObject_TypeCheck
Unexecuted instantiation: textio.c:PyObject_TypeCheck
Unexecuted instantiation: stringio.c:PyObject_TypeCheck
Unexecuted instantiation: itertoolsmodule.c:PyObject_TypeCheck
Unexecuted instantiation: sre.c:PyObject_TypeCheck
Unexecuted instantiation: _sysconfig.c:PyObject_TypeCheck
Unexecuted instantiation: _threadmodule.c:PyObject_TypeCheck
Unexecuted instantiation: timemodule.c:PyObject_TypeCheck
Unexecuted instantiation: _typesmodule.c:PyObject_TypeCheck
Unexecuted instantiation: _typingmodule.c:PyObject_TypeCheck
_weakref.c:PyObject_TypeCheck
Line
Count
Source
371
14.4k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
372
14.4k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
373
14.4k
}
Unexecuted instantiation: _abc.c:PyObject_TypeCheck
_functoolsmodule.c:PyObject_TypeCheck
Line
Count
Source
371
241k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
372
241k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
373
241k
}
Unexecuted instantiation: _localemodule.c:PyObject_TypeCheck
Unexecuted instantiation: _opcode.c:PyObject_TypeCheck
Unexecuted instantiation: _operator.c:PyObject_TypeCheck
Unexecuted instantiation: _stat.c:PyObject_TypeCheck
Unexecuted instantiation: symtablemodule.c:PyObject_TypeCheck
Unexecuted instantiation: pwdmodule.c:PyObject_TypeCheck
Unexecuted instantiation: getpath.c:PyObject_TypeCheck
Unexecuted instantiation: frozen.c:PyObject_TypeCheck
Unexecuted instantiation: getbuildinfo.c:PyObject_TypeCheck
Unexecuted instantiation: peg_api.c:PyObject_TypeCheck
Unexecuted instantiation: file_tokenizer.c:PyObject_TypeCheck
Unexecuted instantiation: helpers.c:PyObject_TypeCheck
Unexecuted instantiation: myreadline.c:PyObject_TypeCheck
abstract.c:PyObject_TypeCheck
Line
Count
Source
371
58.1M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
372
58.1M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
373
58.1M
}
Unexecuted instantiation: boolobject.c:PyObject_TypeCheck
Unexecuted instantiation: bytes_methods.c:PyObject_TypeCheck
bytearrayobject.c:PyObject_TypeCheck
Line
Count
Source
371
123M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
372
123M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
373
123M
}
Unexecuted instantiation: capsule.c:PyObject_TypeCheck
Unexecuted instantiation: cellobject.c:PyObject_TypeCheck
Unexecuted instantiation: classobject.c:PyObject_TypeCheck
Unexecuted instantiation: codeobject.c:PyObject_TypeCheck
complexobject.c:PyObject_TypeCheck
Line
Count
Source
371
4
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
372
4
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
373
4
}
descrobject.c:PyObject_TypeCheck
Line
Count
Source
371
348M
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
372
348M
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
373
348M
}
Unexecuted instantiation: enumobject.c:PyObject_TypeCheck
Unexecuted instantiation: genobject.c:PyObject_TypeCheck
Unexecuted instantiation: fileobject.c:PyObject_TypeCheck
Unexecuted instantiation: frameobject.c:PyObject_TypeCheck
funcobject.c:PyObject_TypeCheck
Line
Count
Source
371
84
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
372
84
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
373
84
}
Unexecuted instantiation: interpolationobject.c:PyObject_TypeCheck
Unexecuted instantiation: iterobject.c:PyObject_TypeCheck
Unexecuted instantiation: lazyimportobject.c:PyObject_TypeCheck
Unexecuted instantiation: odictobject.c:PyObject_TypeCheck
methodobject.c:PyObject_TypeCheck
Line
Count
Source
371
161k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
372
161k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
373
161k
}
Unexecuted instantiation: namespaceobject.c:PyObject_TypeCheck
Unexecuted instantiation: _contextvars.c:PyObject_TypeCheck
Unexecuted instantiation: Python-ast.c:PyObject_TypeCheck
Unexecuted instantiation: Python-tokenize.c:PyObject_TypeCheck
Unexecuted instantiation: asdl.c:PyObject_TypeCheck
Unexecuted instantiation: assemble.c:PyObject_TypeCheck
Unexecuted instantiation: ast.c:PyObject_TypeCheck
Unexecuted instantiation: ast_preprocess.c:PyObject_TypeCheck
Unexecuted instantiation: ast_unparse.c:PyObject_TypeCheck
Unexecuted instantiation: critical_section.c:PyObject_TypeCheck
Unexecuted instantiation: crossinterp.c:PyObject_TypeCheck
Unexecuted instantiation: getcopyright.c:PyObject_TypeCheck
Unexecuted instantiation: getplatform.c:PyObject_TypeCheck
Unexecuted instantiation: getversion.c:PyObject_TypeCheck
Unexecuted instantiation: optimizer.c:PyObject_TypeCheck
Unexecuted instantiation: pathconfig.c:PyObject_TypeCheck
pegen.c:PyObject_TypeCheck
Line
Count
Source
371
89.8k
static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
372
89.8k
    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
373
89.8k
}
Unexecuted instantiation: pegen_errors.c:PyObject_TypeCheck
Unexecuted instantiation: parser.c:PyObject_TypeCheck
Unexecuted instantiation: buffer.c:PyObject_TypeCheck
Unexecuted instantiation: lexer.c:PyObject_TypeCheck
Unexecuted instantiation: state.c:PyObject_TypeCheck
Unexecuted instantiation: readline_tokenizer.c:PyObject_TypeCheck
Unexecuted instantiation: string_tokenizer.c:PyObject_TypeCheck
Unexecuted instantiation: utf8_tokenizer.c:PyObject_TypeCheck
Unexecuted instantiation: getcompiler.c:PyObject_TypeCheck
Unexecuted instantiation: mystrtoul.c:PyObject_TypeCheck
Unexecuted instantiation: token.c:PyObject_TypeCheck
Unexecuted instantiation: action_helpers.c:PyObject_TypeCheck
Unexecuted instantiation: string_parser.c:PyObject_TypeCheck
374
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000
375
778M
#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
376
#endif
377
378
PyAPI_DATA(PyTypeObject) PyType_Type; /* built-in 'type' */
379
PyAPI_DATA(PyTypeObject) PyBaseObject_Type; /* built-in 'object' */
380
PyAPI_DATA(PyTypeObject) PySuper_Type; /* built-in 'super' */
381
382
PyAPI_FUNC(unsigned long) PyType_GetFlags(PyTypeObject*);
383
384
PyAPI_FUNC(int) PyType_Ready(PyTypeObject *);
385
PyAPI_FUNC(PyObject *) PyType_GenericAlloc(PyTypeObject *, Py_ssize_t);
386
PyAPI_FUNC(PyObject *) PyType_GenericNew(PyTypeObject *,
387
                                               PyObject *, PyObject *);
388
PyAPI_FUNC(unsigned int) PyType_ClearCache(void);
389
PyAPI_FUNC(void) PyType_Modified(PyTypeObject *);
390
391
/* Generic operations on objects */
392
PyAPI_FUNC(PyObject *) PyObject_Repr(PyObject *);
393
PyAPI_FUNC(PyObject *) PyObject_Str(PyObject *);
394
PyAPI_FUNC(PyObject *) PyObject_ASCII(PyObject *);
395
PyAPI_FUNC(PyObject *) PyObject_Bytes(PyObject *);
396
PyAPI_FUNC(PyObject *) PyObject_RichCompare(PyObject *, PyObject *, int);
397
PyAPI_FUNC(int) PyObject_RichCompareBool(PyObject *, PyObject *, int);
398
PyAPI_FUNC(PyObject *) PyObject_GetAttrString(PyObject *, const char *);
399
PyAPI_FUNC(int) PyObject_SetAttrString(PyObject *, const char *, PyObject *);
400
PyAPI_FUNC(int) PyObject_DelAttrString(PyObject *v, const char *name);
401
PyAPI_FUNC(int) PyObject_HasAttrString(PyObject *, const char *);
402
PyAPI_FUNC(PyObject *) PyObject_GetAttr(PyObject *, PyObject *);
403
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030d0000
404
PyAPI_FUNC(int) PyObject_GetOptionalAttr(PyObject *, PyObject *, PyObject **);
405
PyAPI_FUNC(int) PyObject_GetOptionalAttrString(PyObject *, const char *, PyObject **);
406
#endif
407
PyAPI_FUNC(int) PyObject_SetAttr(PyObject *, PyObject *, PyObject *);
408
PyAPI_FUNC(int) PyObject_DelAttr(PyObject *v, PyObject *name);
409
PyAPI_FUNC(int) PyObject_HasAttr(PyObject *, PyObject *);
410
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030d0000
411
PyAPI_FUNC(int) PyObject_HasAttrWithError(PyObject *, PyObject *);
412
PyAPI_FUNC(int) PyObject_HasAttrStringWithError(PyObject *, const char *);
413
#endif
414
PyAPI_FUNC(PyObject *) PyObject_SelfIter(PyObject *);
415
PyAPI_FUNC(PyObject *) PyObject_GenericGetAttr(PyObject *, PyObject *);
416
PyAPI_FUNC(int) PyObject_GenericSetAttr(PyObject *, PyObject *, PyObject *);
417
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03030000
418
PyAPI_FUNC(int) PyObject_GenericSetDict(PyObject *, PyObject *, void *);
419
#endif
420
PyAPI_FUNC(Py_hash_t) PyObject_Hash(PyObject *);
421
PyAPI_FUNC(Py_hash_t) PyObject_HashNotImplemented(PyObject *);
422
PyAPI_FUNC(int) PyObject_IsTrue(PyObject *);
423
PyAPI_FUNC(int) PyObject_Not(PyObject *);
424
PyAPI_FUNC(int) PyCallable_Check(PyObject *);
425
PyAPI_FUNC(void) PyObject_ClearWeakRefs(PyObject *);
426
427
/* PyObject_Dir(obj) acts like Python builtins.dir(obj), returning a
428
   list of strings.  PyObject_Dir(NULL) is like builtins.dir(),
429
   returning the names of the current locals.  In this case, if there are
430
   no current locals, NULL is returned, and PyErr_Occurred() is false.
431
*/
432
PyAPI_FUNC(PyObject *) PyObject_Dir(PyObject *);
433
434
/* Helpers for printing recursive container types */
435
PyAPI_FUNC(int) Py_ReprEnter(PyObject *);
436
PyAPI_FUNC(void) Py_ReprLeave(PyObject *);
437
438
/* Flag bits for printing: */
439
0
#define Py_PRINT_RAW    1       /* No string quotes etc. */
440
441
/*
442
Type flags (tp_flags)
443
444
These flags are used to change expected features and behavior for a
445
particular type.
446
447
Arbitration of the flag bit positions will need to be coordinated among
448
all extension writers who publicly release their extensions (this will
449
be fewer than you might expect!).
450
451
Most flags were removed as of Python 3.0 to make room for new flags.  (Some
452
flags are not for backwards compatibility but to indicate the presence of an
453
optional feature; these flags remain of course.)
454
455
Type definitions should use Py_TPFLAGS_DEFAULT for their tp_flags value.
456
457
Code can use PyType_HasFeature(type_ob, flag_value) to test whether the
458
given type object has a specified feature.
459
*/
460
461
#ifndef Py_LIMITED_API
462
463
/* Track types initialized using _PyStaticType_InitBuiltin(). */
464
874M
#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
465
466
/* The values array is placed inline directly after the rest of
467
 * the object. Implies Py_TPFLAGS_HAVE_GC.
468
 */
469
1.37G
#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
470
471
/* Placement of weakref pointers are managed by the VM, not by the type.
472
 * The VM will automatically set tp_weaklistoffset. Implies Py_TPFLAGS_HAVE_GC.
473
 */
474
1.31G
#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
475
476
/* Placement of dict (and values) pointers are managed by the VM, not by the type.
477
 * The VM will automatically set tp_dictoffset. Implies Py_TPFLAGS_HAVE_GC.
478
 */
479
1.67G
#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
480
481
/* Type has dictionary or weakref pointers that are managed by VM and has
482
 * to allocate space to store these.
483
 */
484
1.31G
#define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
485
486
/* Set if instances of the type object are treated as sequences for pattern matching */
487
2.25M
#define Py_TPFLAGS_SEQUENCE (1 << 5)
488
/* Set if instances of the type object are treated as mappings for pattern matching */
489
2.25M
#define Py_TPFLAGS_MAPPING (1 << 6)
490
#endif
491
492
/* Disallow creating instances of the type: set tp_new to NULL and don't create
493
 * the "__new__" key in the type dictionary. */
494
241k
#define Py_TPFLAGS_DISALLOW_INSTANTIATION (1UL << 7)
495
496
/* Set if the type object is immutable: type attributes cannot be set nor deleted */
497
2.35M
#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
498
499
/* Set if the type object is dynamically allocated */
500
544M
#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
501
502
/* Set if the type allows subclassing */
503
911k
#define Py_TPFLAGS_BASETYPE (1UL << 10)
504
505
/* Set if the type implements the vectorcall protocol (PEP 590) */
506
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030C0000
507
737M
#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
508
#ifndef Py_LIMITED_API
509
// Backwards compatibility alias for API that was provisional in Python 3.8
510
#define _Py_TPFLAGS_HAVE_VECTORCALL Py_TPFLAGS_HAVE_VECTORCALL
511
#endif
512
#endif
513
514
/* Set if the type is 'ready' -- fully initialized */
515
935k
#define Py_TPFLAGS_READY (1UL << 12)
516
517
/* Set while the type is being 'readied', to prevent recursive ready calls */
518
463k
#define Py_TPFLAGS_READYING (1UL << 13)
519
520
/* Objects support garbage collection (see objimpl.h) */
521
8.49G
#define Py_TPFLAGS_HAVE_GC (1UL << 14)
522
523
/* These two bits are preserved for Stackless Python, next after this is 17 */
524
#ifdef STACKLESS
525
#define Py_TPFLAGS_HAVE_STACKLESS_EXTENSION (3UL << 15)
526
#else
527
229k
#define Py_TPFLAGS_HAVE_STACKLESS_EXTENSION 0
528
#endif
529
530
/* Objects behave like an unbound method */
531
210M
#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
532
533
/* Unused. Legacy flag */
534
#define Py_TPFLAGS_VALID_VERSION_TAG  (1UL << 19)
535
536
/* Type is abstract and cannot be instantiated */
537
42.2M
#define Py_TPFLAGS_IS_ABSTRACT (1UL << 20)
538
539
// This undocumented flag gives certain built-ins their unique pattern-matching
540
// behavior, which allows a single positional subpattern to match against the
541
// subject itself (rather than a mapped attribute on it):
542
455k
#define _Py_TPFLAGS_MATCH_SELF (1UL << 22)
543
544
/* Items (ob_size*tp_itemsize) are found at the end of an instance's memory */
545
13.4M
#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
546
547
/* These flags are used to determine if a type is a subclass. */
548
332
#define Py_TPFLAGS_LONG_SUBCLASS        (1UL << 24)
549
152
#define Py_TPFLAGS_LIST_SUBCLASS        (1UL << 25)
550
1.09k
#define Py_TPFLAGS_TUPLE_SUBCLASS       (1UL << 26)
551
6
#define Py_TPFLAGS_BYTES_SUBCLASS       (1UL << 27)
552
12.4M
#define Py_TPFLAGS_UNICODE_SUBCLASS     (1UL << 28)
553
230
#define Py_TPFLAGS_DICT_SUBCLASS        (1UL << 29)
554
3.85k
#define Py_TPFLAGS_BASE_EXC_SUBCLASS    (1UL << 30)
555
163
#define Py_TPFLAGS_TYPE_SUBCLASS        (1UL << 31)
556
557
229k
#define Py_TPFLAGS_DEFAULT  ( \
558
229k
                 Py_TPFLAGS_HAVE_STACKLESS_EXTENSION | \
559
229k
                0)
560
561
/* NOTE: Some of the following flags reuse lower bits (removed as part of the
562
 * Python 3.0 transition). */
563
564
/* The following flags are kept for compatibility; in previous
565
 * versions they indicated presence of newer tp_* fields on the
566
 * type struct.
567
 * Starting with 3.8, binary compatibility of C extensions across
568
 * feature releases of Python is not supported anymore (except when
569
 * using the stable ABI, in which all classes are created dynamically,
570
 * using the interpreter's memory layout.)
571
 * Note that older extensions using the stable ABI set these flags,
572
 * so the bits must not be repurposed.
573
 */
574
#define Py_TPFLAGS_HAVE_FINALIZE (1UL << 0)
575
#define Py_TPFLAGS_HAVE_VERSION_TAG   (1UL << 18)
576
577
// Flag values for ob_flags (16 bits available, if SIZEOF_VOID_P > 4).
578
257M
#define _Py_IMMORTAL_FLAGS (1 << 0)
579
#define _Py_LEGACY_ABI_CHECK_FLAG (1 << 1) /* see PyModuleDef_Init() */
580
257M
#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
581
#if !defined(Py_LIMITED_API)
582
#  if defined(Py_GIL_DISABLED) && defined(Py_DEBUG)
583
#    define _Py_TYPE_REVEALED_FLAG (1 << 3)
584
#  endif
585
#endif
586
587
#define Py_CONSTANT_NONE 0
588
#define Py_CONSTANT_FALSE 1
589
#define Py_CONSTANT_TRUE 2
590
#define Py_CONSTANT_ELLIPSIS 3
591
#define Py_CONSTANT_NOT_IMPLEMENTED 4
592
36
#define Py_CONSTANT_ZERO 5
593
36
#define Py_CONSTANT_ONE 6
594
7.76M
#define Py_CONSTANT_EMPTY_STR 7
595
23.8M
#define Py_CONSTANT_EMPTY_BYTES 8
596
36
#define Py_CONSTANT_EMPTY_TUPLE 9
597
598
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030d0000
599
PyAPI_FUNC(PyObject*) Py_GetConstant(unsigned int constant_id);
600
PyAPI_FUNC(PyObject*) Py_GetConstantBorrowed(unsigned int constant_id);
601
#endif
602
603
604
/*
605
_Py_NoneStruct is an object of undefined type which can be used in contexts
606
where NULL (nil) is not suitable (since NULL often means 'error').
607
*/
608
PyAPI_DATA(PyObject) _Py_NoneStruct; /* Don't use this directly */
609
610
#if defined(Py_LIMITED_API) && Py_LIMITED_API+0 >= 0x030D0000
611
#  define Py_None Py_GetConstantBorrowed(Py_CONSTANT_NONE)
612
#else
613
1.58G
#  define Py_None (&_Py_NoneStruct)
614
#endif
615
616
// Test if an object is the None singleton, the same as "x is None" in Python.
617
PyAPI_FUNC(int) Py_IsNone(PyObject *x);
618
326M
#define Py_IsNone(x) Py_Is((x), Py_None)
619
620
/* Macro for returning Py_None from a function.
621
 * Only treat Py_None as immortal in the limited C API 3.12 and newer. */
622
#if defined(Py_LIMITED_API) && Py_LIMITED_API+0 < 0x030c0000
623
#  define Py_RETURN_NONE return Py_NewRef(Py_None)
624
#else
625
237M
#  define Py_RETURN_NONE return Py_None
626
#endif
627
628
/*
629
Py_NotImplemented is a singleton used to signal that an operation is
630
not implemented for a given type combination.
631
*/
632
PyAPI_DATA(PyObject) _Py_NotImplementedStruct; /* Don't use this directly */
633
634
#if defined(Py_LIMITED_API) && Py_LIMITED_API+0 >= 0x030D0000
635
#  define Py_NotImplemented Py_GetConstantBorrowed(Py_CONSTANT_NOT_IMPLEMENTED)
636
#else
637
582M
#  define Py_NotImplemented (&_Py_NotImplementedStruct)
638
#endif
639
640
/* Macro for returning Py_NotImplemented from a function. Only treat
641
 * Py_NotImplemented as immortal in the limited C API 3.12 and newer. */
642
#if defined(Py_LIMITED_API) && Py_LIMITED_API+0 < 0x030c0000
643
#  define Py_RETURN_NOTIMPLEMENTED return Py_NewRef(Py_NotImplemented)
644
#else
645
41.3M
#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
646
#endif
647
648
/* Rich comparison opcodes */
649
94.3M
#define Py_LT 0
650
3.00M
#define Py_LE 1
651
679M
#define Py_EQ 2
652
166M
#define Py_NE 3
653
14.4M
#define Py_GT 4
654
2.66M
#define Py_GE 5
655
656
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030A0000
657
/* Result of calling PyIter_Send */
658
typedef enum {
659
    PYGEN_RETURN = 0,
660
    PYGEN_ERROR = -1,
661
    PYGEN_NEXT = 1
662
} PySendResult;
663
#endif
664
665
/*
666
 * Macro for implementing rich comparisons
667
 *
668
 * Needs to be a macro because any C-comparable type can be used.
669
 */
670
#define Py_RETURN_RICHCOMPARE(val1, val2, op)                               \
671
108M
    do {                                                                    \
672
108M
        switch (op) {                                                       \
673
54.6M
        case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
674
54.6M
        case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
675
45.8M
        case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
676
45.8M
        case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
677
7.23M
        case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
678
345k
        case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
679
2.97k
        default:                                                            \
680
0
            Py_UNREACHABLE();                                               \
681
108M
        }                                                                   \
682
108M
    } while (0)
683
684
685
/*
686
More conventions
687
================
688
689
Argument Checking
690
-----------------
691
692
Functions that take objects as arguments normally don't check for nil
693
arguments, but they do check the type of the argument, and return an
694
error if the function doesn't apply to the type.
695
696
Failure Modes
697
-------------
698
699
Functions may fail for a variety of reasons, including running out of
700
memory.  This is communicated to the caller in two ways: an error string
701
is set (see errors.h), and the function result differs: functions that
702
normally return a pointer return NULL for failure, functions returning
703
an integer return -1 (which could be a legal return value too!), and
704
other functions return 0 for success and -1 for failure.
705
Callers should always check for errors before using the result.  If
706
an error was set, the caller must either explicitly clear it, or pass
707
the error on to its caller.
708
709
Reference Counts
710
----------------
711
712
It takes a while to get used to the proper usage of reference counts.
713
714
Functions that create an object set the reference count to 1; such new
715
objects must be stored somewhere or destroyed again with Py_DECREF().
716
Some functions that 'store' objects, such as PyTuple_SetItem() and
717
PyList_SetItem(),
718
don't increment the reference count of the object, since the most
719
frequent use is to store a fresh object.  Functions that 'retrieve'
720
objects, such as PyTuple_GetItem() and PyDict_GetItemString(), also
721
don't increment
722
the reference count, since most frequently the object is only looked at
723
quickly.  Thus, to retrieve an object and store it again, the caller
724
must call Py_INCREF() explicitly.
725
726
NOTE: functions that 'consume' a reference count, like
727
PyList_SetItem(), consume the reference even if the object wasn't
728
successfully stored, to simplify error handling.
729
730
It seems attractive to make other functions that take an object as
731
argument consume a reference count; however, this may quickly get
732
confusing (even the current practice is already confusing).  Consider
733
it carefully, it may save lots of calls to Py_INCREF() and Py_DECREF() at
734
times.
735
*/
736
737
#ifndef Py_LIMITED_API
738
#  define Py_CPYTHON_OBJECT_H
739
#  include "cpython/object.h"
740
#  undef Py_CPYTHON_OBJECT_H
741
#endif
742
743
744
static inline int
745
PyType_HasFeature(PyTypeObject *type, unsigned long feature)
746
9.39G
{
747
9.39G
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
    flags = type->tp_flags;
753
#endif
754
9.39G
    return ((flags & feature) != 0);
755
9.39G
}
bytesobject.c:PyType_HasFeature
Line
Count
Source
746
266M
{
747
266M
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
266M
    flags = type->tp_flags;
753
266M
#endif
754
266M
    return ((flags & feature) != 0);
755
266M
}
call.c:PyType_HasFeature
Line
Count
Source
746
528M
{
747
528M
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
528M
    flags = type->tp_flags;
753
528M
#endif
754
528M
    return ((flags & feature) != 0);
755
528M
}
exceptions.c:PyType_HasFeature
Line
Count
Source
746
3.47M
{
747
3.47M
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
3.47M
    flags = type->tp_flags;
753
3.47M
#endif
754
3.47M
    return ((flags & feature) != 0);
755
3.47M
}
genericaliasobject.c:PyType_HasFeature
Line
Count
Source
746
3.53k
{
747
3.53k
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
3.53k
    flags = type->tp_flags;
753
3.53k
#endif
754
3.53k
    return ((flags & feature) != 0);
755
3.53k
}
floatobject.c:PyType_HasFeature
Line
Count
Source
746
7.58M
{
747
7.58M
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
7.58M
    flags = type->tp_flags;
753
7.58M
#endif
754
7.58M
    return ((flags & feature) != 0);
755
7.58M
}
listobject.c:PyType_HasFeature
Line
Count
Source
746
306M
{
747
306M
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
306M
    flags = type->tp_flags;
753
306M
#endif
754
306M
    return ((flags & feature) != 0);
755
306M
}
longobject.c:PyType_HasFeature
Line
Count
Source
746
1.25G
{
747
1.25G
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
1.25G
    flags = type->tp_flags;
753
1.25G
#endif
754
1.25G
    return ((flags & feature) != 0);
755
1.25G
}
dictobject.c:PyType_HasFeature
Line
Count
Source
746
1.75G
{
747
1.75G
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
1.75G
    flags = type->tp_flags;
753
1.75G
#endif
754
1.75G
    return ((flags & feature) != 0);
755
1.75G
}
memoryobject.c:PyType_HasFeature
Line
Count
Source
746
118k
{
747
118k
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
118k
    flags = type->tp_flags;
753
118k
#endif
754
118k
    return ((flags & feature) != 0);
755
118k
}
moduleobject.c:PyType_HasFeature
Line
Count
Source
746
10.9k
{
747
10.9k
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
10.9k
    flags = type->tp_flags;
753
10.9k
#endif
754
10.9k
    return ((flags & feature) != 0);
755
10.9k
}
object.c:PyType_HasFeature
Line
Count
Source
746
1.02G
{
747
1.02G
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
1.02G
    flags = type->tp_flags;
753
1.02G
#endif
754
1.02G
    return ((flags & feature) != 0);
755
1.02G
}
Unexecuted instantiation: obmalloc.c:PyType_HasFeature
Unexecuted instantiation: picklebufobject.c:PyType_HasFeature
Unexecuted instantiation: rangeobject.c:PyType_HasFeature
Unexecuted instantiation: setobject.c:PyType_HasFeature
Unexecuted instantiation: sliceobject.c:PyType_HasFeature
structseq.c:PyType_HasFeature
Line
Count
Source
746
107k
{
747
107k
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
107k
    flags = type->tp_flags;
753
107k
#endif
754
107k
    return ((flags & feature) != 0);
755
107k
}
Unexecuted instantiation: templateobject.c:PyType_HasFeature
tupleobject.c:PyType_HasFeature
Line
Count
Source
746
95.4M
{
747
95.4M
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
95.4M
    flags = type->tp_flags;
753
95.4M
#endif
754
95.4M
    return ((flags & feature) != 0);
755
95.4M
}
typeobject.c:PyType_HasFeature
Line
Count
Source
746
394M
{
747
394M
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
394M
    flags = type->tp_flags;
753
394M
#endif
754
394M
    return ((flags & feature) != 0);
755
394M
}
typevarobject.c:PyType_HasFeature
Line
Count
Source
746
376
{
747
376
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
376
    flags = type->tp_flags;
753
376
#endif
754
376
    return ((flags & feature) != 0);
755
376
}
unicode_format.c:PyType_HasFeature
Line
Count
Source
746
53.2M
{
747
53.2M
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
53.2M
    flags = type->tp_flags;
753
53.2M
#endif
754
53.2M
    return ((flags & feature) != 0);
755
53.2M
}
Unexecuted instantiation: unicode_formatter.c:PyType_HasFeature
unicode_writer.c:PyType_HasFeature
Line
Count
Source
746
604k
{
747
604k
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
604k
    flags = type->tp_flags;
753
604k
#endif
754
604k
    return ((flags & feature) != 0);
755
604k
}
Unexecuted instantiation: unicodectype.c:PyType_HasFeature
unicodeobject.c:PyType_HasFeature
Line
Count
Source
746
1.51G
{
747
1.51G
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
1.51G
    flags = type->tp_flags;
753
1.51G
#endif
754
1.51G
    return ((flags & feature) != 0);
755
1.51G
}
unionobject.c:PyType_HasFeature
Line
Count
Source
746
3.35k
{
747
3.35k
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
3.35k
    flags = type->tp_flags;
753
3.35k
#endif
754
3.35k
    return ((flags & feature) != 0);
755
3.35k
}
weakrefobject.c:PyType_HasFeature
Line
Count
Source
746
52.1M
{
747
52.1M
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
52.1M
    flags = type->tp_flags;
753
52.1M
#endif
754
52.1M
    return ((flags & feature) != 0);
755
52.1M
}
_warnings.c:PyType_HasFeature
Line
Count
Source
746
26.3M
{
747
26.3M
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
26.3M
    flags = type->tp_flags;
753
26.3M
#endif
754
26.3M
    return ((flags & feature) != 0);
755
26.3M
}
bltinmodule.c:PyType_HasFeature
Line
Count
Source
746
349M
{
747
349M
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
349M
    flags = type->tp_flags;
753
349M
#endif
754
349M
    return ((flags & feature) != 0);
755
349M
}
ceval.c:PyType_HasFeature
Line
Count
Source
746
402M
{
747
402M
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
402M
    flags = type->tp_flags;
753
402M
#endif
754
402M
    return ((flags & feature) != 0);
755
402M
}
codecs.c:PyType_HasFeature
Line
Count
Source
746
5.27M
{
747
5.27M
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
5.27M
    flags = type->tp_flags;
753
5.27M
#endif
754
5.27M
    return ((flags & feature) != 0);
755
5.27M
}
codegen.c:PyType_HasFeature
Line
Count
Source
746
345
{
747
345
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
345
    flags = type->tp_flags;
753
345
#endif
754
345
    return ((flags & feature) != 0);
755
345
}
Unexecuted instantiation: compile.c:PyType_HasFeature
context.c:PyType_HasFeature
Line
Count
Source
746
61
{
747
61
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
61
    flags = type->tp_flags;
753
61
#endif
754
61
    return ((flags & feature) != 0);
755
61
}
errors.c:PyType_HasFeature
Line
Count
Source
746
534M
{
747
534M
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
534M
    flags = type->tp_flags;
753
534M
#endif
754
534M
    return ((flags & feature) != 0);
755
534M
}
flowgraph.c:PyType_HasFeature
Line
Count
Source
746
84
{
747
84
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
84
    flags = type->tp_flags;
753
84
#endif
754
84
    return ((flags & feature) != 0);
755
84
}
Unexecuted instantiation: frame.c:PyType_HasFeature
Unexecuted instantiation: future.c:PyType_HasFeature
Unexecuted instantiation: gc.c:PyType_HasFeature
Unexecuted instantiation: gc_gil.c:PyType_HasFeature
getargs.c:PyType_HasFeature
Line
Count
Source
746
22.3M
{
747
22.3M
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
22.3M
    flags = type->tp_flags;
753
22.3M
#endif
754
22.3M
    return ((flags & feature) != 0);
755
22.3M
}
Unexecuted instantiation: ceval_gil.c:PyType_HasFeature
Unexecuted instantiation: hamt.c:PyType_HasFeature
Unexecuted instantiation: hashtable.c:PyType_HasFeature
import.c:PyType_HasFeature
Line
Count
Source
746
4.24M
{
747
4.24M
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
4.24M
    flags = type->tp_flags;
753
4.24M
#endif
754
4.24M
    return ((flags & feature) != 0);
755
4.24M
}
importdl.c:PyType_HasFeature
Line
Count
Source
746
414
{
747
414
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
414
    flags = type->tp_flags;
753
414
#endif
754
414
    return ((flags & feature) != 0);
755
414
}
initconfig.c:PyType_HasFeature
Line
Count
Source
746
720
{
747
720
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
720
    flags = type->tp_flags;
753
720
#endif
754
720
    return ((flags & feature) != 0);
755
720
}
Unexecuted instantiation: instrumentation.c:PyType_HasFeature
Unexecuted instantiation: instruction_sequence.c:PyType_HasFeature
intrinsics.c:PyType_HasFeature
Line
Count
Source
746
37.0k
{
747
37.0k
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
37.0k
    flags = type->tp_flags;
753
37.0k
#endif
754
37.0k
    return ((flags & feature) != 0);
755
37.0k
}
Unexecuted instantiation: legacy_tracing.c:PyType_HasFeature
Unexecuted instantiation: lock.c:PyType_HasFeature
Unexecuted instantiation: marshal.c:PyType_HasFeature
Unexecuted instantiation: modsupport.c:PyType_HasFeature
Unexecuted instantiation: mysnprintf.c:PyType_HasFeature
Unexecuted instantiation: parking_lot.c:PyType_HasFeature
Unexecuted instantiation: preconfig.c:PyType_HasFeature
Unexecuted instantiation: pyarena.c:PyType_HasFeature
Unexecuted instantiation: pyctype.c:PyType_HasFeature
Unexecuted instantiation: pyhash.c:PyType_HasFeature
pylifecycle.c:PyType_HasFeature
Line
Count
Source
746
36
{
747
36
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
36
    flags = type->tp_flags;
753
36
#endif
754
36
    return ((flags & feature) != 0);
755
36
}
Unexecuted instantiation: pymath.c:PyType_HasFeature
Unexecuted instantiation: pystate.c:PyType_HasFeature
pythonrun.c:PyType_HasFeature
Line
Count
Source
746
120k
{
747
120k
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
120k
    flags = type->tp_flags;
753
120k
#endif
754
120k
    return ((flags & feature) != 0);
755
120k
}
Unexecuted instantiation: pytime.c:PyType_HasFeature
Unexecuted instantiation: qsbr.c:PyType_HasFeature
Unexecuted instantiation: bootstrap_hash.c:PyType_HasFeature
specialize.c:PyType_HasFeature
Line
Count
Source
746
4.43M
{
747
4.43M
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
4.43M
    flags = type->tp_flags;
753
4.43M
#endif
754
4.43M
    return ((flags & feature) != 0);
755
4.43M
}
Unexecuted instantiation: structmember.c:PyType_HasFeature
symtable.c:PyType_HasFeature
Line
Count
Source
746
75.8k
{
747
75.8k
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
75.8k
    flags = type->tp_flags;
753
75.8k
#endif
754
75.8k
    return ((flags & feature) != 0);
755
75.8k
}
sysmodule.c:PyType_HasFeature
Line
Count
Source
746
1.77M
{
747
1.77M
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
1.77M
    flags = type->tp_flags;
753
1.77M
#endif
754
1.77M
    return ((flags & feature) != 0);
755
1.77M
}
Unexecuted instantiation: thread.c:PyType_HasFeature
Unexecuted instantiation: traceback.c:PyType_HasFeature
Unexecuted instantiation: tracemalloc.c:PyType_HasFeature
Unexecuted instantiation: getopt.c:PyType_HasFeature
Unexecuted instantiation: pystrcmp.c:PyType_HasFeature
Unexecuted instantiation: pystrtod.c:PyType_HasFeature
Unexecuted instantiation: pystrhex.c:PyType_HasFeature
Unexecuted instantiation: dtoa.c:PyType_HasFeature
Unexecuted instantiation: fileutils.c:PyType_HasFeature
Unexecuted instantiation: suggestions.c:PyType_HasFeature
Unexecuted instantiation: perf_trampoline.c:PyType_HasFeature
Unexecuted instantiation: perf_jit_trampoline.c:PyType_HasFeature
Unexecuted instantiation: remote_debugging.c:PyType_HasFeature
Unexecuted instantiation: dynload_shlib.c:PyType_HasFeature
Unexecuted instantiation: config.c:PyType_HasFeature
Unexecuted instantiation: gcmodule.c:PyType_HasFeature
Unexecuted instantiation: _asynciomodule.c:PyType_HasFeature
Unexecuted instantiation: atexitmodule.c:PyType_HasFeature
Unexecuted instantiation: faulthandler.c:PyType_HasFeature
posixmodule.c:PyType_HasFeature
Line
Count
Source
746
4.93M
{
747
4.93M
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
4.93M
    flags = type->tp_flags;
753
4.93M
#endif
754
4.93M
    return ((flags & feature) != 0);
755
4.93M
}
Unexecuted instantiation: signalmodule.c:PyType_HasFeature
Unexecuted instantiation: _tracemalloc.c:PyType_HasFeature
Unexecuted instantiation: _suggestions.c:PyType_HasFeature
_datetimemodule.c:PyType_HasFeature
Line
Count
Source
746
32.1k
{
747
32.1k
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
32.1k
    flags = type->tp_flags;
753
32.1k
#endif
754
32.1k
    return ((flags & feature) != 0);
755
32.1k
}
_codecsmodule.c:PyType_HasFeature
Line
Count
Source
746
2.02M
{
747
2.02M
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
2.02M
    flags = type->tp_flags;
753
2.02M
#endif
754
2.02M
    return ((flags & feature) != 0);
755
2.02M
}
_collectionsmodule.c:PyType_HasFeature
Line
Count
Source
746
32.7k
{
747
32.7k
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
32.7k
    flags = type->tp_flags;
753
32.7k
#endif
754
32.7k
    return ((flags & feature) != 0);
755
32.7k
}
Unexecuted instantiation: errnomodule.c:PyType_HasFeature
_iomodule.c:PyType_HasFeature
Line
Count
Source
746
67.4k
{
747
67.4k
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
67.4k
    flags = type->tp_flags;
753
67.4k
#endif
754
67.4k
    return ((flags & feature) != 0);
755
67.4k
}
Unexecuted instantiation: iobase.c:PyType_HasFeature
fileio.c:PyType_HasFeature
Line
Count
Source
746
30.7k
{
747
30.7k
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
30.7k
    flags = type->tp_flags;
753
30.7k
#endif
754
30.7k
    return ((flags & feature) != 0);
755
30.7k
}
Unexecuted instantiation: bytesio.c:PyType_HasFeature
bufferedio.c:PyType_HasFeature
Line
Count
Source
746
12.4k
{
747
12.4k
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
12.4k
    flags = type->tp_flags;
753
12.4k
#endif
754
12.4k
    return ((flags & feature) != 0);
755
12.4k
}
textio.c:PyType_HasFeature
Line
Count
Source
746
800k
{
747
800k
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
800k
    flags = type->tp_flags;
753
800k
#endif
754
800k
    return ((flags & feature) != 0);
755
800k
}
stringio.c:PyType_HasFeature
Line
Count
Source
746
98.6k
{
747
98.6k
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
98.6k
    flags = type->tp_flags;
753
98.6k
#endif
754
98.6k
    return ((flags & feature) != 0);
755
98.6k
}
itertoolsmodule.c:PyType_HasFeature
Line
Count
Source
746
12
{
747
12
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
12
    flags = type->tp_flags;
753
12
#endif
754
12
    return ((flags & feature) != 0);
755
12
}
sre.c:PyType_HasFeature
Line
Count
Source
746
148M
{
747
148M
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
148M
    flags = type->tp_flags;
753
148M
#endif
754
148M
    return ((flags & feature) != 0);
755
148M
}
Unexecuted instantiation: _sysconfig.c:PyType_HasFeature
_threadmodule.c:PyType_HasFeature
Line
Count
Source
746
8
{
747
8
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
8
    flags = type->tp_flags;
753
8
#endif
754
8
    return ((flags & feature) != 0);
755
8
}
timemodule.c:PyType_HasFeature
Line
Count
Source
746
192
{
747
192
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
192
    flags = type->tp_flags;
753
192
#endif
754
192
    return ((flags & feature) != 0);
755
192
}
Unexecuted instantiation: _typesmodule.c:PyType_HasFeature
Unexecuted instantiation: _typingmodule.c:PyType_HasFeature
_weakref.c:PyType_HasFeature
Line
Count
Source
746
14.4k
{
747
14.4k
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
14.4k
    flags = type->tp_flags;
753
14.4k
#endif
754
14.4k
    return ((flags & feature) != 0);
755
14.4k
}
_abc.c:PyType_HasFeature
Line
Count
Source
746
117k
{
747
117k
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
117k
    flags = type->tp_flags;
753
117k
#endif
754
117k
    return ((flags & feature) != 0);
755
117k
}
_functoolsmodule.c:PyType_HasFeature
Line
Count
Source
746
38.4k
{
747
38.4k
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
38.4k
    flags = type->tp_flags;
753
38.4k
#endif
754
38.4k
    return ((flags & feature) != 0);
755
38.4k
}
Unexecuted instantiation: _localemodule.c:PyType_HasFeature
Unexecuted instantiation: _opcode.c:PyType_HasFeature
_operator.c:PyType_HasFeature
Line
Count
Source
746
4
{
747
4
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
4
    flags = type->tp_flags;
753
4
#endif
754
4
    return ((flags & feature) != 0);
755
4
}
_stat.c:PyType_HasFeature
Line
Count
Source
746
3.73k
{
747
3.73k
    unsigned long flags;
748
3.73k
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
3.73k
    flags = PyType_GetFlags(type);
751
#else
752
    flags = type->tp_flags;
753
#endif
754
3.73k
    return ((flags & feature) != 0);
755
3.73k
}
Unexecuted instantiation: symtablemodule.c:PyType_HasFeature
Unexecuted instantiation: pwdmodule.c:PyType_HasFeature
getpath.c:PyType_HasFeature
Line
Count
Source
746
972
{
747
972
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
972
    flags = type->tp_flags;
753
972
#endif
754
972
    return ((flags & feature) != 0);
755
972
}
Unexecuted instantiation: frozen.c:PyType_HasFeature
Unexecuted instantiation: getbuildinfo.c:PyType_HasFeature
Unexecuted instantiation: peg_api.c:PyType_HasFeature
Unexecuted instantiation: file_tokenizer.c:PyType_HasFeature
Unexecuted instantiation: helpers.c:PyType_HasFeature
Unexecuted instantiation: myreadline.c:PyType_HasFeature
abstract.c:PyType_HasFeature
Line
Count
Source
746
532M
{
747
532M
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
532M
    flags = type->tp_flags;
753
532M
#endif
754
532M
    return ((flags & feature) != 0);
755
532M
}
Unexecuted instantiation: boolobject.c:PyType_HasFeature
bytes_methods.c:PyType_HasFeature
Line
Count
Source
746
3.87M
{
747
3.87M
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
3.87M
    flags = type->tp_flags;
753
3.87M
#endif
754
3.87M
    return ((flags & feature) != 0);
755
3.87M
}
bytearrayobject.c:PyType_HasFeature
Line
Count
Source
746
16.5M
{
747
16.5M
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
16.5M
    flags = type->tp_flags;
753
16.5M
#endif
754
16.5M
    return ((flags & feature) != 0);
755
16.5M
}
Unexecuted instantiation: capsule.c:PyType_HasFeature
Unexecuted instantiation: cellobject.c:PyType_HasFeature
Unexecuted instantiation: classobject.c:PyType_HasFeature
codeobject.c:PyType_HasFeature
Line
Count
Source
746
1.86M
{
747
1.86M
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
1.86M
    flags = type->tp_flags;
753
1.86M
#endif
754
1.86M
    return ((flags & feature) != 0);
755
1.86M
}
Unexecuted instantiation: complexobject.c:PyType_HasFeature
descrobject.c:PyType_HasFeature
Line
Count
Source
746
26.7M
{
747
26.7M
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
26.7M
    flags = type->tp_flags;
753
26.7M
#endif
754
26.7M
    return ((flags & feature) != 0);
755
26.7M
}
enumobject.c:PyType_HasFeature
Line
Count
Source
746
42.5M
{
747
42.5M
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
42.5M
    flags = type->tp_flags;
753
42.5M
#endif
754
42.5M
    return ((flags & feature) != 0);
755
42.5M
}
genobject.c:PyType_HasFeature
Line
Count
Source
746
88.0k
{
747
88.0k
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
88.0k
    flags = type->tp_flags;
753
88.0k
#endif
754
88.0k
    return ((flags & feature) != 0);
755
88.0k
}
fileobject.c:PyType_HasFeature
Line
Count
Source
746
6.21k
{
747
6.21k
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
6.21k
    flags = type->tp_flags;
753
6.21k
#endif
754
6.21k
    return ((flags & feature) != 0);
755
6.21k
}
Unexecuted instantiation: frameobject.c:PyType_HasFeature
funcobject.c:PyType_HasFeature
Line
Count
Source
746
105k
{
747
105k
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
105k
    flags = type->tp_flags;
753
105k
#endif
754
105k
    return ((flags & feature) != 0);
755
105k
}
Unexecuted instantiation: interpolationobject.c:PyType_HasFeature
iterobject.c:PyType_HasFeature
Line
Count
Source
746
3.22M
{
747
3.22M
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
3.22M
    flags = type->tp_flags;
753
3.22M
#endif
754
3.22M
    return ((flags & feature) != 0);
755
3.22M
}
lazyimportobject.c:PyType_HasFeature
Line
Count
Source
746
338
{
747
338
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
338
    flags = type->tp_flags;
753
338
#endif
754
338
    return ((flags & feature) != 0);
755
338
}
Unexecuted instantiation: odictobject.c:PyType_HasFeature
methodobject.c:PyType_HasFeature
Line
Count
Source
746
216
{
747
216
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
216
    flags = type->tp_flags;
753
216
#endif
754
216
    return ((flags & feature) != 0);
755
216
}
Unexecuted instantiation: namespaceobject.c:PyType_HasFeature
Unexecuted instantiation: _contextvars.c:PyType_HasFeature
Unexecuted instantiation: Python-ast.c:PyType_HasFeature
Python-tokenize.c:PyType_HasFeature
Line
Count
Source
746
4
{
747
4
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
4
    flags = type->tp_flags;
753
4
#endif
754
4
    return ((flags & feature) != 0);
755
4
}
Unexecuted instantiation: asdl.c:PyType_HasFeature
Unexecuted instantiation: assemble.c:PyType_HasFeature
Unexecuted instantiation: ast.c:PyType_HasFeature
ast_preprocess.c:PyType_HasFeature
Line
Count
Source
746
105
{
747
105
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
105
    flags = type->tp_flags;
753
105
#endif
754
105
    return ((flags & feature) != 0);
755
105
}
Unexecuted instantiation: ast_unparse.c:PyType_HasFeature
Unexecuted instantiation: critical_section.c:PyType_HasFeature
Unexecuted instantiation: crossinterp.c:PyType_HasFeature
Unexecuted instantiation: getcopyright.c:PyType_HasFeature
Unexecuted instantiation: getplatform.c:PyType_HasFeature
Unexecuted instantiation: getversion.c:PyType_HasFeature
Unexecuted instantiation: optimizer.c:PyType_HasFeature
Unexecuted instantiation: pathconfig.c:PyType_HasFeature
pegen.c:PyType_HasFeature
Line
Count
Source
746
62.8k
{
747
62.8k
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
62.8k
    flags = type->tp_flags;
753
62.8k
#endif
754
62.8k
    return ((flags & feature) != 0);
755
62.8k
}
Unexecuted instantiation: pegen_errors.c:PyType_HasFeature
Unexecuted instantiation: parser.c:PyType_HasFeature
Unexecuted instantiation: buffer.c:PyType_HasFeature
Unexecuted instantiation: lexer.c:PyType_HasFeature
Unexecuted instantiation: state.c:PyType_HasFeature
readline_tokenizer.c:PyType_HasFeature
Line
Count
Source
746
344
{
747
344
    unsigned long flags;
748
#ifdef Py_LIMITED_API
749
    // PyTypeObject is opaque in the limited C API
750
    flags = PyType_GetFlags(type);
751
#else
752
344
    flags = type->tp_flags;
753
344
#endif
754
344
    return ((flags & feature) != 0);
755
344
}
Unexecuted instantiation: string_tokenizer.c:PyType_HasFeature
Unexecuted instantiation: utf8_tokenizer.c:PyType_HasFeature
Unexecuted instantiation: getcompiler.c:PyType_HasFeature
Unexecuted instantiation: mystrtoul.c:PyType_HasFeature
Unexecuted instantiation: token.c:PyType_HasFeature
Unexecuted instantiation: action_helpers.c:PyType_HasFeature
Unexecuted instantiation: string_parser.c:PyType_HasFeature
756
757
10.7G
#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
758
759
633M
static inline int PyType_Check(PyObject *op) {
760
633M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
761
633M
}
Unexecuted instantiation: bytesobject.c:PyType_Check
Unexecuted instantiation: call.c:PyType_Check
Unexecuted instantiation: exceptions.c:PyType_Check
genericaliasobject.c:PyType_Check
Line
Count
Source
759
200
static inline int PyType_Check(PyObject *op) {
760
200
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
761
200
}
Unexecuted instantiation: floatobject.c:PyType_Check
Unexecuted instantiation: listobject.c:PyType_Check
Unexecuted instantiation: longobject.c:PyType_Check
Unexecuted instantiation: dictobject.c:PyType_Check
Unexecuted instantiation: memoryobject.c:PyType_Check
Unexecuted instantiation: moduleobject.c:PyType_Check
Unexecuted instantiation: object.c:PyType_Check
Unexecuted instantiation: obmalloc.c:PyType_Check
Unexecuted instantiation: picklebufobject.c:PyType_Check
Unexecuted instantiation: rangeobject.c:PyType_Check
Unexecuted instantiation: setobject.c:PyType_Check
Unexecuted instantiation: sliceobject.c:PyType_Check
Unexecuted instantiation: structseq.c:PyType_Check
Unexecuted instantiation: templateobject.c:PyType_Check
Unexecuted instantiation: tupleobject.c:PyType_Check
typeobject.c:PyType_Check
Line
Count
Source
759
89.4M
static inline int PyType_Check(PyObject *op) {
760
89.4M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
761
89.4M
}
Unexecuted instantiation: typevarobject.c:PyType_Check
Unexecuted instantiation: unicode_format.c:PyType_Check
Unexecuted instantiation: unicode_formatter.c:PyType_Check
Unexecuted instantiation: unicode_writer.c:PyType_Check
Unexecuted instantiation: unicodectype.c:PyType_Check
Unexecuted instantiation: unicodeobject.c:PyType_Check
unionobject.c:PyType_Check
Line
Count
Source
759
2.24k
static inline int PyType_Check(PyObject *op) {
760
2.24k
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
761
2.24k
}
weakrefobject.c:PyType_Check
Line
Count
Source
759
52.1M
static inline int PyType_Check(PyObject *op) {
760
52.1M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
761
52.1M
}
_warnings.c:PyType_Check
Line
Count
Source
759
1.09M
static inline int PyType_Check(PyObject *op) {
760
1.09M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
761
1.09M
}
bltinmodule.c:PyType_Check
Line
Count
Source
759
21.5k
static inline int PyType_Check(PyObject *op) {
760
21.5k
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
761
21.5k
}
ceval.c:PyType_Check
Line
Count
Source
759
213M
static inline int PyType_Check(PyObject *op) {
760
213M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
761
213M
}
Unexecuted instantiation: codecs.c:PyType_Check
Unexecuted instantiation: codegen.c:PyType_Check
Unexecuted instantiation: compile.c:PyType_Check
Unexecuted instantiation: context.c:PyType_Check
errors.c:PyType_Check
Line
Count
Source
759
154M
static inline int PyType_Check(PyObject *op) {
760
154M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
761
154M
}
Unexecuted instantiation: flowgraph.c:PyType_Check
Unexecuted instantiation: frame.c:PyType_Check
Unexecuted instantiation: future.c:PyType_Check
Unexecuted instantiation: gc.c:PyType_Check
Unexecuted instantiation: gc_gil.c:PyType_Check
Unexecuted instantiation: getargs.c:PyType_Check
Unexecuted instantiation: ceval_gil.c:PyType_Check
Unexecuted instantiation: hamt.c:PyType_Check
Unexecuted instantiation: hashtable.c:PyType_Check
Unexecuted instantiation: import.c:PyType_Check
Unexecuted instantiation: importdl.c:PyType_Check
Unexecuted instantiation: initconfig.c:PyType_Check
Unexecuted instantiation: instrumentation.c:PyType_Check
Unexecuted instantiation: instruction_sequence.c:PyType_Check
Unexecuted instantiation: intrinsics.c:PyType_Check
Unexecuted instantiation: legacy_tracing.c:PyType_Check
Unexecuted instantiation: lock.c:PyType_Check
Unexecuted instantiation: marshal.c:PyType_Check
Unexecuted instantiation: modsupport.c:PyType_Check
Unexecuted instantiation: mysnprintf.c:PyType_Check
Unexecuted instantiation: parking_lot.c:PyType_Check
Unexecuted instantiation: preconfig.c:PyType_Check
Unexecuted instantiation: pyarena.c:PyType_Check
Unexecuted instantiation: pyctype.c:PyType_Check
Unexecuted instantiation: pyhash.c:PyType_Check
Unexecuted instantiation: pylifecycle.c:PyType_Check
Unexecuted instantiation: pymath.c:PyType_Check
Unexecuted instantiation: pystate.c:PyType_Check
Unexecuted instantiation: pythonrun.c:PyType_Check
Unexecuted instantiation: pytime.c:PyType_Check
Unexecuted instantiation: qsbr.c:PyType_Check
Unexecuted instantiation: bootstrap_hash.c:PyType_Check
specialize.c:PyType_Check
Line
Count
Source
759
4.36M
static inline int PyType_Check(PyObject *op) {
760
4.36M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
761
4.36M
}
Unexecuted instantiation: structmember.c:PyType_Check
Unexecuted instantiation: symtable.c:PyType_Check
Unexecuted instantiation: sysmodule.c:PyType_Check
Unexecuted instantiation: thread.c:PyType_Check
Unexecuted instantiation: traceback.c:PyType_Check
Unexecuted instantiation: tracemalloc.c:PyType_Check
Unexecuted instantiation: getopt.c:PyType_Check
Unexecuted instantiation: pystrcmp.c:PyType_Check
Unexecuted instantiation: pystrtod.c:PyType_Check
Unexecuted instantiation: pystrhex.c:PyType_Check
Unexecuted instantiation: dtoa.c:PyType_Check
Unexecuted instantiation: fileutils.c:PyType_Check
Unexecuted instantiation: suggestions.c:PyType_Check
Unexecuted instantiation: perf_trampoline.c:PyType_Check
Unexecuted instantiation: perf_jit_trampoline.c:PyType_Check
Unexecuted instantiation: remote_debugging.c:PyType_Check
Unexecuted instantiation: dynload_shlib.c:PyType_Check
Unexecuted instantiation: config.c:PyType_Check
Unexecuted instantiation: gcmodule.c:PyType_Check
Unexecuted instantiation: _asynciomodule.c:PyType_Check
Unexecuted instantiation: atexitmodule.c:PyType_Check
Unexecuted instantiation: faulthandler.c:PyType_Check
Unexecuted instantiation: posixmodule.c:PyType_Check
Unexecuted instantiation: signalmodule.c:PyType_Check
Unexecuted instantiation: _tracemalloc.c:PyType_Check
Unexecuted instantiation: _suggestions.c:PyType_Check
Unexecuted instantiation: _datetimemodule.c:PyType_Check
Unexecuted instantiation: _codecsmodule.c:PyType_Check
Unexecuted instantiation: _collectionsmodule.c:PyType_Check
Unexecuted instantiation: errnomodule.c:PyType_Check
Unexecuted instantiation: _iomodule.c:PyType_Check
Unexecuted instantiation: iobase.c:PyType_Check
Unexecuted instantiation: fileio.c:PyType_Check
Unexecuted instantiation: bytesio.c:PyType_Check
Unexecuted instantiation: bufferedio.c:PyType_Check
Unexecuted instantiation: textio.c:PyType_Check
Unexecuted instantiation: stringio.c:PyType_Check
Unexecuted instantiation: itertoolsmodule.c:PyType_Check
Unexecuted instantiation: sre.c:PyType_Check
Unexecuted instantiation: _sysconfig.c:PyType_Check
Unexecuted instantiation: _threadmodule.c:PyType_Check
Unexecuted instantiation: timemodule.c:PyType_Check
Unexecuted instantiation: _typesmodule.c:PyType_Check
Unexecuted instantiation: _typingmodule.c:PyType_Check
Unexecuted instantiation: _weakref.c:PyType_Check
_abc.c:PyType_Check
Line
Count
Source
759
35.4k
static inline int PyType_Check(PyObject *op) {
760
35.4k
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
761
35.4k
}
Unexecuted instantiation: _functoolsmodule.c:PyType_Check
Unexecuted instantiation: _localemodule.c:PyType_Check
Unexecuted instantiation: _opcode.c:PyType_Check
Unexecuted instantiation: _operator.c:PyType_Check
Unexecuted instantiation: _stat.c:PyType_Check
Unexecuted instantiation: symtablemodule.c:PyType_Check
Unexecuted instantiation: pwdmodule.c:PyType_Check
Unexecuted instantiation: getpath.c:PyType_Check
Unexecuted instantiation: frozen.c:PyType_Check
Unexecuted instantiation: getbuildinfo.c:PyType_Check
Unexecuted instantiation: peg_api.c:PyType_Check
Unexecuted instantiation: file_tokenizer.c:PyType_Check
Unexecuted instantiation: helpers.c:PyType_Check
Unexecuted instantiation: myreadline.c:PyType_Check
abstract.c:PyType_Check
Line
Count
Source
759
91.3M
static inline int PyType_Check(PyObject *op) {
760
91.3M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
761
91.3M
}
Unexecuted instantiation: boolobject.c:PyType_Check
Unexecuted instantiation: bytes_methods.c:PyType_Check
Unexecuted instantiation: bytearrayobject.c:PyType_Check
Unexecuted instantiation: capsule.c:PyType_Check
Unexecuted instantiation: cellobject.c:PyType_Check
Unexecuted instantiation: classobject.c:PyType_Check
Unexecuted instantiation: codeobject.c:PyType_Check
Unexecuted instantiation: complexobject.c:PyType_Check
descrobject.c:PyType_Check
Line
Count
Source
759
26.5M
static inline int PyType_Check(PyObject *op) {
760
26.5M
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
761
26.5M
}
Unexecuted instantiation: enumobject.c:PyType_Check
genobject.c:PyType_Check
Line
Count
Source
759
44.0k
static inline int PyType_Check(PyObject *op) {
760
44.0k
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
761
44.0k
}
Unexecuted instantiation: fileobject.c:PyType_Check
Unexecuted instantiation: frameobject.c:PyType_Check
Unexecuted instantiation: funcobject.c:PyType_Check
Unexecuted instantiation: interpolationobject.c:PyType_Check
Unexecuted instantiation: iterobject.c:PyType_Check
Unexecuted instantiation: lazyimportobject.c:PyType_Check
Unexecuted instantiation: odictobject.c:PyType_Check
methodobject.c:PyType_Check
Line
Count
Source
759
108
static inline int PyType_Check(PyObject *op) {
760
108
    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
761
108
}
Unexecuted instantiation: namespaceobject.c:PyType_Check
Unexecuted instantiation: _contextvars.c:PyType_Check
Unexecuted instantiation: Python-ast.c:PyType_Check
Unexecuted instantiation: Python-tokenize.c:PyType_Check
Unexecuted instantiation: asdl.c:PyType_Check
Unexecuted instantiation: assemble.c:PyType_Check
Unexecuted instantiation: ast.c:PyType_Check
Unexecuted instantiation: ast_preprocess.c:PyType_Check
Unexecuted instantiation: ast_unparse.c:PyType_Check
Unexecuted instantiation: critical_section.c:PyType_Check
Unexecuted instantiation: crossinterp.c:PyType_Check
Unexecuted instantiation: getcopyright.c:PyType_Check
Unexecuted instantiation: getplatform.c:PyType_Check
Unexecuted instantiation: getversion.c:PyType_Check
Unexecuted instantiation: optimizer.c:PyType_Check
Unexecuted instantiation: pathconfig.c:PyType_Check
Unexecuted instantiation: pegen.c:PyType_Check
Unexecuted instantiation: pegen_errors.c:PyType_Check
Unexecuted instantiation: parser.c:PyType_Check
Unexecuted instantiation: buffer.c:PyType_Check
Unexecuted instantiation: lexer.c:PyType_Check
Unexecuted instantiation: state.c:PyType_Check
Unexecuted instantiation: readline_tokenizer.c:PyType_Check
Unexecuted instantiation: string_tokenizer.c:PyType_Check
Unexecuted instantiation: utf8_tokenizer.c:PyType_Check
Unexecuted instantiation: getcompiler.c:PyType_Check
Unexecuted instantiation: mystrtoul.c:PyType_Check
Unexecuted instantiation: token.c:PyType_Check
Unexecuted instantiation: action_helpers.c:PyType_Check
Unexecuted instantiation: string_parser.c:PyType_Check
762
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000
763
959M
#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
764
#endif
765
766
#define _PyType_CAST(op) \
767
335M
    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
768
769
87.5M
static inline int PyType_CheckExact(PyObject *op) {
770
87.5M
    return Py_IS_TYPE(op, &PyType_Type);
771
87.5M
}
Unexecuted instantiation: bytesobject.c:PyType_CheckExact
Unexecuted instantiation: call.c:PyType_CheckExact
Unexecuted instantiation: exceptions.c:PyType_CheckExact
Unexecuted instantiation: genericaliasobject.c:PyType_CheckExact
Unexecuted instantiation: floatobject.c:PyType_CheckExact
Unexecuted instantiation: listobject.c:PyType_CheckExact
Unexecuted instantiation: longobject.c:PyType_CheckExact
Unexecuted instantiation: dictobject.c:PyType_CheckExact
Unexecuted instantiation: memoryobject.c:PyType_CheckExact
Unexecuted instantiation: moduleobject.c:PyType_CheckExact
Unexecuted instantiation: object.c:PyType_CheckExact
Unexecuted instantiation: obmalloc.c:PyType_CheckExact
Unexecuted instantiation: picklebufobject.c:PyType_CheckExact
Unexecuted instantiation: rangeobject.c:PyType_CheckExact
Unexecuted instantiation: setobject.c:PyType_CheckExact
Unexecuted instantiation: sliceobject.c:PyType_CheckExact
Unexecuted instantiation: structseq.c:PyType_CheckExact
Unexecuted instantiation: templateobject.c:PyType_CheckExact
Unexecuted instantiation: tupleobject.c:PyType_CheckExact
Unexecuted instantiation: typeobject.c:PyType_CheckExact
Unexecuted instantiation: typevarobject.c:PyType_CheckExact
Unexecuted instantiation: unicode_format.c:PyType_CheckExact
Unexecuted instantiation: unicode_formatter.c:PyType_CheckExact
Unexecuted instantiation: unicode_writer.c:PyType_CheckExact
Unexecuted instantiation: unicodectype.c:PyType_CheckExact
Unexecuted instantiation: unicodeobject.c:PyType_CheckExact
Unexecuted instantiation: unionobject.c:PyType_CheckExact
Unexecuted instantiation: weakrefobject.c:PyType_CheckExact
Unexecuted instantiation: _warnings.c:PyType_CheckExact
Unexecuted instantiation: bltinmodule.c:PyType_CheckExact
Unexecuted instantiation: ceval.c:PyType_CheckExact
Unexecuted instantiation: codecs.c:PyType_CheckExact
Unexecuted instantiation: codegen.c:PyType_CheckExact
Unexecuted instantiation: compile.c:PyType_CheckExact
Unexecuted instantiation: context.c:PyType_CheckExact
Unexecuted instantiation: errors.c:PyType_CheckExact
Unexecuted instantiation: flowgraph.c:PyType_CheckExact
Unexecuted instantiation: frame.c:PyType_CheckExact
Unexecuted instantiation: future.c:PyType_CheckExact
Unexecuted instantiation: gc.c:PyType_CheckExact
Unexecuted instantiation: gc_gil.c:PyType_CheckExact
Unexecuted instantiation: getargs.c:PyType_CheckExact
Unexecuted instantiation: ceval_gil.c:PyType_CheckExact
Unexecuted instantiation: hamt.c:PyType_CheckExact
Unexecuted instantiation: hashtable.c:PyType_CheckExact
Unexecuted instantiation: import.c:PyType_CheckExact
Unexecuted instantiation: importdl.c:PyType_CheckExact
Unexecuted instantiation: initconfig.c:PyType_CheckExact
Unexecuted instantiation: instrumentation.c:PyType_CheckExact
Unexecuted instantiation: instruction_sequence.c:PyType_CheckExact
Unexecuted instantiation: intrinsics.c:PyType_CheckExact
Unexecuted instantiation: legacy_tracing.c:PyType_CheckExact
Unexecuted instantiation: lock.c:PyType_CheckExact
Unexecuted instantiation: marshal.c:PyType_CheckExact
Unexecuted instantiation: modsupport.c:PyType_CheckExact
Unexecuted instantiation: mysnprintf.c:PyType_CheckExact
Unexecuted instantiation: parking_lot.c:PyType_CheckExact
Unexecuted instantiation: preconfig.c:PyType_CheckExact
Unexecuted instantiation: pyarena.c:PyType_CheckExact
Unexecuted instantiation: pyctype.c:PyType_CheckExact
Unexecuted instantiation: pyhash.c:PyType_CheckExact
Unexecuted instantiation: pylifecycle.c:PyType_CheckExact
Unexecuted instantiation: pymath.c:PyType_CheckExact
Unexecuted instantiation: pystate.c:PyType_CheckExact
Unexecuted instantiation: pythonrun.c:PyType_CheckExact
Unexecuted instantiation: pytime.c:PyType_CheckExact
Unexecuted instantiation: qsbr.c:PyType_CheckExact
Unexecuted instantiation: bootstrap_hash.c:PyType_CheckExact
Unexecuted instantiation: specialize.c:PyType_CheckExact
Unexecuted instantiation: structmember.c:PyType_CheckExact
Unexecuted instantiation: symtable.c:PyType_CheckExact
Unexecuted instantiation: sysmodule.c:PyType_CheckExact
Unexecuted instantiation: thread.c:PyType_CheckExact
Unexecuted instantiation: traceback.c:PyType_CheckExact
Unexecuted instantiation: tracemalloc.c:PyType_CheckExact
Unexecuted instantiation: getopt.c:PyType_CheckExact
Unexecuted instantiation: pystrcmp.c:PyType_CheckExact
Unexecuted instantiation: pystrtod.c:PyType_CheckExact
Unexecuted instantiation: pystrhex.c:PyType_CheckExact
Unexecuted instantiation: dtoa.c:PyType_CheckExact
Unexecuted instantiation: fileutils.c:PyType_CheckExact
Unexecuted instantiation: suggestions.c:PyType_CheckExact
Unexecuted instantiation: perf_trampoline.c:PyType_CheckExact
Unexecuted instantiation: perf_jit_trampoline.c:PyType_CheckExact
Unexecuted instantiation: remote_debugging.c:PyType_CheckExact
Unexecuted instantiation: dynload_shlib.c:PyType_CheckExact
Unexecuted instantiation: config.c:PyType_CheckExact
Unexecuted instantiation: gcmodule.c:PyType_CheckExact
Unexecuted instantiation: _asynciomodule.c:PyType_CheckExact
Unexecuted instantiation: atexitmodule.c:PyType_CheckExact
Unexecuted instantiation: faulthandler.c:PyType_CheckExact
Unexecuted instantiation: posixmodule.c:PyType_CheckExact
Unexecuted instantiation: signalmodule.c:PyType_CheckExact
Unexecuted instantiation: _tracemalloc.c:PyType_CheckExact
Unexecuted instantiation: _suggestions.c:PyType_CheckExact
Unexecuted instantiation: _datetimemodule.c:PyType_CheckExact
Unexecuted instantiation: _codecsmodule.c:PyType_CheckExact
Unexecuted instantiation: _collectionsmodule.c:PyType_CheckExact
Unexecuted instantiation: errnomodule.c:PyType_CheckExact
Unexecuted instantiation: _iomodule.c:PyType_CheckExact
Unexecuted instantiation: iobase.c:PyType_CheckExact
Unexecuted instantiation: fileio.c:PyType_CheckExact
Unexecuted instantiation: bytesio.c:PyType_CheckExact
Unexecuted instantiation: bufferedio.c:PyType_CheckExact
Unexecuted instantiation: textio.c:PyType_CheckExact
Unexecuted instantiation: stringio.c:PyType_CheckExact
Unexecuted instantiation: itertoolsmodule.c:PyType_CheckExact
Unexecuted instantiation: sre.c:PyType_CheckExact
Unexecuted instantiation: _sysconfig.c:PyType_CheckExact
Unexecuted instantiation: _threadmodule.c:PyType_CheckExact
Unexecuted instantiation: timemodule.c:PyType_CheckExact
Unexecuted instantiation: _typesmodule.c:PyType_CheckExact
Unexecuted instantiation: _typingmodule.c:PyType_CheckExact
Unexecuted instantiation: _weakref.c:PyType_CheckExact
Unexecuted instantiation: _abc.c:PyType_CheckExact
Unexecuted instantiation: _functoolsmodule.c:PyType_CheckExact
Unexecuted instantiation: _localemodule.c:PyType_CheckExact
Unexecuted instantiation: _opcode.c:PyType_CheckExact
Unexecuted instantiation: _operator.c:PyType_CheckExact
Unexecuted instantiation: _stat.c:PyType_CheckExact
Unexecuted instantiation: symtablemodule.c:PyType_CheckExact
Unexecuted instantiation: pwdmodule.c:PyType_CheckExact
Unexecuted instantiation: getpath.c:PyType_CheckExact
Unexecuted instantiation: frozen.c:PyType_CheckExact
Unexecuted instantiation: getbuildinfo.c:PyType_CheckExact
Unexecuted instantiation: peg_api.c:PyType_CheckExact
Unexecuted instantiation: file_tokenizer.c:PyType_CheckExact
Unexecuted instantiation: helpers.c:PyType_CheckExact
Unexecuted instantiation: myreadline.c:PyType_CheckExact
abstract.c:PyType_CheckExact
Line
Count
Source
769
87.5M
static inline int PyType_CheckExact(PyObject *op) {
770
87.5M
    return Py_IS_TYPE(op, &PyType_Type);
771
87.5M
}
Unexecuted instantiation: boolobject.c:PyType_CheckExact
Unexecuted instantiation: bytes_methods.c:PyType_CheckExact
Unexecuted instantiation: bytearrayobject.c:PyType_CheckExact
Unexecuted instantiation: capsule.c:PyType_CheckExact
Unexecuted instantiation: cellobject.c:PyType_CheckExact
Unexecuted instantiation: classobject.c:PyType_CheckExact
Unexecuted instantiation: codeobject.c:PyType_CheckExact
Unexecuted instantiation: complexobject.c:PyType_CheckExact
Unexecuted instantiation: descrobject.c:PyType_CheckExact
Unexecuted instantiation: enumobject.c:PyType_CheckExact
Unexecuted instantiation: genobject.c:PyType_CheckExact
Unexecuted instantiation: fileobject.c:PyType_CheckExact
Unexecuted instantiation: frameobject.c:PyType_CheckExact
Unexecuted instantiation: funcobject.c:PyType_CheckExact
Unexecuted instantiation: interpolationobject.c:PyType_CheckExact
Unexecuted instantiation: iterobject.c:PyType_CheckExact
Unexecuted instantiation: lazyimportobject.c:PyType_CheckExact
Unexecuted instantiation: odictobject.c:PyType_CheckExact
Unexecuted instantiation: methodobject.c:PyType_CheckExact
Unexecuted instantiation: namespaceobject.c:PyType_CheckExact
Unexecuted instantiation: _contextvars.c:PyType_CheckExact
Unexecuted instantiation: Python-ast.c:PyType_CheckExact
Unexecuted instantiation: Python-tokenize.c:PyType_CheckExact
Unexecuted instantiation: asdl.c:PyType_CheckExact
Unexecuted instantiation: assemble.c:PyType_CheckExact
Unexecuted instantiation: ast.c:PyType_CheckExact
Unexecuted instantiation: ast_preprocess.c:PyType_CheckExact
Unexecuted instantiation: ast_unparse.c:PyType_CheckExact
Unexecuted instantiation: critical_section.c:PyType_CheckExact
Unexecuted instantiation: crossinterp.c:PyType_CheckExact
Unexecuted instantiation: getcopyright.c:PyType_CheckExact
Unexecuted instantiation: getplatform.c:PyType_CheckExact
Unexecuted instantiation: getversion.c:PyType_CheckExact
Unexecuted instantiation: optimizer.c:PyType_CheckExact
Unexecuted instantiation: pathconfig.c:PyType_CheckExact
Unexecuted instantiation: pegen.c:PyType_CheckExact
Unexecuted instantiation: pegen_errors.c:PyType_CheckExact
Unexecuted instantiation: parser.c:PyType_CheckExact
Unexecuted instantiation: buffer.c:PyType_CheckExact
Unexecuted instantiation: lexer.c:PyType_CheckExact
Unexecuted instantiation: state.c:PyType_CheckExact
Unexecuted instantiation: readline_tokenizer.c:PyType_CheckExact
Unexecuted instantiation: string_tokenizer.c:PyType_CheckExact
Unexecuted instantiation: utf8_tokenizer.c:PyType_CheckExact
Unexecuted instantiation: getcompiler.c:PyType_CheckExact
Unexecuted instantiation: mystrtoul.c:PyType_CheckExact
Unexecuted instantiation: token.c:PyType_CheckExact
Unexecuted instantiation: action_helpers.c:PyType_CheckExact
Unexecuted instantiation: string_parser.c:PyType_CheckExact
772
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000
773
87.5M
#  define PyType_CheckExact(op) PyType_CheckExact(_PyObject_CAST(op))
774
#endif
775
776
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030d0000
777
PyAPI_FUNC(PyObject *) PyType_GetModuleByDef(PyTypeObject *, PyModuleDef *);
778
#endif
779
780
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030e0000
781
PyAPI_FUNC(int) PyType_Freeze(PyTypeObject *type);
782
#endif
783
784
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= _Py_PACK_VERSION(3, 15)
785
PyAPI_FUNC(PyObject *) PyType_GetModuleByToken(PyTypeObject *type,
786
                                               const void *token);
787
PyAPI_FUNC(void *) PyObject_GetTypeData_DuringGC(PyObject *obj,
788
                                                 PyTypeObject *cls);
789
PyAPI_FUNC(void *) PyType_GetModuleState_DuringGC(PyTypeObject *);
790
PyAPI_FUNC(int) PyType_GetBaseByToken_DuringGC(PyTypeObject *,
791
                                               void *, PyTypeObject **);
792
PyAPI_FUNC(PyObject *) PyType_GetModule_DuringGC(PyTypeObject *);
793
PyAPI_FUNC(PyObject *) PyType_GetModuleByToken_DuringGC(PyTypeObject *type,
794
                                                        const void *token);
795
#endif
796
797
#ifdef __cplusplus
798
}
799
#endif
800
#endif   // !Py_OBJECT_H