fix build without Py_DEBUG and DNDEBUG (closes #14509)
2 files changed