[issue17411] Build failures with non-NDEBUG, non-Py_DEBUG builds.

2017-05-22 Thread Thomas Wouters
Changes by Thomas Wouters : -- resolution: -> out of date ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue17411] Build failures with non-NDEBUG, non-Py_DEBUG builds.

2017-05-22 Thread Thomas Wouters
Changes by Thomas Wouters : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue17411] Build failures with non-NDEBUG, non-Py_DEBUG builds.

2013-03-15 Thread Thomas Wouters
Thomas Wouters added the comment: Unfortunately there is no "release mode". There's Py_DEBUG mode, and the absence of Py_DEBUG. And there's NDEBUG, and the absence of NDEBUG, which controls the assert macro. Py_DEBUG unsets NDEBUG, but *not* setting Py_DEBUG doesn't *set* NDEBUG (nor should it

[issue17411] Build failures with non-NDEBUG, non-Py_DEBUG builds.

2013-03-15 Thread STINNER Victor
STINNER Victor added the comment: > that's just it is not defined in release mode. that's *why* 2013/3/15 STINNER Victor : > > STINNER Victor added the comment: > > I added _PyUnicode_CheckConsistency() to Python 3.3 to check the > implementation of the PEP 393, this function should not be cal

[issue17411] Build failures with non-NDEBUG, non-Py_DEBUG builds.

2013-03-15 Thread STINNER Victor
STINNER Victor added the comment: I added _PyUnicode_CheckConsistency() to Python 3.3 to check the implementation of the PEP 393, this function should not be called in release mode, that's just it is not defined in release mode. -- ___ Python tracke

[issue17411] Build failures with non-NDEBUG, non-Py_DEBUG builds.

2013-03-15 Thread Thomas Wouters
Thomas Wouters added the comment: Yes, I already had the same kinds of failures fixed for 3.2, before; this only affects 3.3 and later. -- ___ Python tracker ___ ___

[issue17411] Build failures with non-NDEBUG, non-Py_DEBUG builds.

2013-03-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: The patch changes unicodeobject.c and obmalloc.c Thomas, is the problem new to 3.3 (and the new unicode implementation)? -- nosy: +benjamin.peterson, ezio.melotti, haypo, pitrou, terry.reedy ___ Python tracker

[issue17411] Build failures with non-NDEBUG, non-Py_DEBUG builds.

2013-03-13 Thread Thomas Wouters
New submission from Thomas Wouters: Similar to http://bugs.python.org/issue14509, Python 3.3 conflates Py_DEBUG and non-NDEBUG builds, creating build failures when building with 'CFLAGS=-UNDEBUG ./configure --without-pydebug'. (assert statements are only compiled out when NDEBUG is set, not wh