Home
last modified time | relevance | path

Searched refs:Py_DEBUG (Results 1 – 25 of 72) sorted by relevance

123

/third_party/python/Python/
Dpyarena.c66 #if defined(Py_DEBUG)
147 #if defined(Py_DEBUG) in _PyArena_New()
161 #if defined(Py_DEBUG) in _PyArena_Free()
186 #if defined(Py_DEBUG) in _PyArena_Malloc()
193 #if defined(Py_DEBUG) in _PyArena_Malloc()
Dthread.c45 #ifdef Py_DEBUG
61 #ifdef Py_DEBUG in PyThread_init_thread()
81 #ifdef Py_DEBUG in _PyThread_debug_deprecation()
Dhamt.c358 #ifdef Py_DEBUG
374 #ifdef Py_DEBUG
445 #ifdef Py_DEBUG
1029 #ifdef Py_DEBUG in hamt_node_bitmap_without()
1172 #ifdef Py_DEBUG
1580 #ifdef Py_DEBUG
1879 #ifdef Py_DEBUG in hamt_node_array_without()
1962 #ifdef Py_DEBUG
2109 #ifdef Py_DEBUG
2168 #ifdef Py_DEBUG in hamt_iterator_bitmap_next()
[all …]
Dpystrhex.c139 #ifdef Py_DEBUG in _Py_strhex_impl()
Dcontext.c345 #ifdef Py_DEBUG in _context_alloc()
473 #ifdef Py_DEBUG in context_tp_dealloc()
1309 #ifdef Py_DEBUG in _PyContext_Fini()
D_warnings.c17 #ifndef Py_DEBUG
52 #ifndef Py_DEBUG
83 #ifdef Py_DEBUG in init_filters()
Dbootstrap_hash.c38 #ifdef Py_DEBUG
/third_party/python/Misc/
DSpecialBuilds.txt33 Py_DEBUG implies Py_REF_DEBUG.
80 Py_DEBUG
85 Py_DEBUG implies LLTRACE and Py_REF_DEBUG. In addition, C assert()s are enabled
87 checks inside "#ifdef Py_DEBUG" blocks.
103 Py_DEBUG implies LLTRACE.
/third_party/python/Include/internal/
Dpycore_asdl.h85 #ifdef Py_DEBUG
97 #ifdef Py_DEBUG
Dpycore_pystate.h114 #ifdef Py_DEBUG in _PyInterpreterState_GET()
/third_party/python/Lib/test/
Dtest_cmd_line.py20 Py_DEBUG = hasattr(sys, "gettotalrefcount") variable
112 if Py_DEBUG:
645 if Py_DEBUG:
717 if not Py_DEBUG:
755 default_name = 'pymalloc_debug' if Py_DEBUG else 'pymalloc'
758 default_name = 'malloc_debug' if Py_DEBUG else 'malloc'
Dtest_capi.py35 Py_DEBUG = hasattr(sys, 'gettotalrefcount') variable
205 if Py_DEBUG:
233 if Py_DEBUG:
957 @unittest.skipUnless(Py_DEBUG, 'need Py_DEBUG')
Dpythoninfo.py129 Py_DEBUG = hasattr(sys, 'gettotalrefcount')
130 if Py_DEBUG:
Dtest_regrtest.py26 Py_DEBUG = hasattr(sys, 'gettotalrefcount') variable
666 if not Py_DEBUG:
683 if Py_DEBUG:
904 @unittest.skipUnless(Py_DEBUG, 'need a debug build')
918 @unittest.skipUnless(Py_DEBUG, 'need a debug build')
/third_party/python/Modules/_multiprocessing/
Dmultiprocessing.h19 # ifdef Py_DEBUG
/third_party/python/Include/
Dpyhash.h80 #ifdef Py_DEBUG
Dpymacro.h115 #elif defined(Py_DEBUG)
/third_party/python/Objects/
Dtupleobject.c75 #ifdef Py_DEBUG in tuple_alloc()
136 #ifdef Py_DEBUG in tuple_get_empty()
280 #ifdef Py_DEBUG in tupledealloc()
1050 #ifdef Py_DEBUG in _PyTuple_Fini()
Dobject.c106 #ifdef Py_DEBUG in _Py_AddToAllObjects()
427 #ifdef Py_DEBUG in PyObject_Repr()
453 #ifndef Py_DEBUG in PyObject_Repr()
476 #ifndef Py_DEBUG in PyObject_Str()
487 #ifdef Py_DEBUG in PyObject_Str()
512 #ifndef Py_DEBUG in PyObject_Str()
Dcall.c48 #ifdef Py_DEBUG in _Py_CheckFunctionResult()
70 #ifdef Py_DEBUG in _Py_CheckFunctionResult()
358 #ifdef Py_DEBUG in PyEval_CallObjectWithKeywords()
Dgenobject.c1510 #ifdef Py_DEBUG in _PyAsyncGen_Fini()
1558 #ifdef Py_DEBUG in async_gen_asend_dealloc()
1720 #ifdef Py_DEBUG in async_gen_asend_new()
1758 #ifdef Py_DEBUG in async_gen_wrapped_val_dealloc()
1831 #ifdef Py_DEBUG in _PyAsyncGenValueWrapperNew()
Dframeobject.c609 #ifdef Py_DEBUG in frame_dealloc()
800 #ifdef Py_DEBUG in frame_alloc()
1143 #ifdef Py_DEBUG in _PyFrame_Fini()
Dobmalloc.c213 #ifdef Py_DEBUG
261 #ifdef Py_DEBUG in _PyMem_SetDefaultAllocator()
2882 #ifdef Py_DEBUG
2982 #ifdef Py_DEBUG in _PyObject_DebugMallocStats()
2991 #ifdef Py_DEBUG in _PyObject_DebugMallocStats()
/third_party/python/PC/
Dpyconfig.h317 # define Py_DEBUG macro
/third_party/python/Doc/using/
Dconfigure.rst229 * Define ``Py_DEBUG`` and ``Py_REF_DEBUG`` macros.
230 * Add runtime checks: code surroundeded by ``#ifdef Py_DEBUG`` and ``#endif``.
250 ``Py_DEBUG`` macro no longer implies the ``Py_TRACE_REFS`` macro (see the
260 :ref:`Build Python in debug mode <debug-build>`: define the ``Py_DEBUG``
274 build (``Py_DEBUG`` and ``Py_REF_DEBUG`` macros).

123