mirror of
https://github.com/python/cpython.git
synced 2024-11-27 03:45:08 +08:00
bpo-36763, _testembed: enable assert() in release mode (GH-13857)
This commit is contained in:
parent
6af230359e
commit
013a18a651
@ -1,10 +1,13 @@
|
||||
/* FIXME: PEP 587 makes these functions public */
|
||||
#ifndef Py_BUILD_CORE_MODULE
|
||||
# define Py_BUILD_CORE_MODULE
|
||||
#endif
|
||||
|
||||
/* Always enable assertion (even in release mode) */
|
||||
#undef NDEBUG
|
||||
|
||||
#include <Python.h>
|
||||
#include "pycore_initconfig.h" /* FIXME: PEP 587 makes these functions public */
|
||||
#include "pycore_initconfig.h" /* _PyConfig_InitCompatConfig() */
|
||||
#include "pycore_pystate.h" /* _PyRuntime */
|
||||
#include <Python.h>
|
||||
#include "pythread.h"
|
||||
#include <inttypes.h>
|
||||
|
Loading…
Reference in New Issue
Block a user