Re: [Python-Dev] assert(blah blah) in the C code base

2013-12-27 Thread Gennadiy Zlobin
Yes, looks like NDEBUG is not defined only when you run ./configure --with-pydebug if test "$Py_DEBUG" = 'true'; then : else OPT="-DNDEBUG $OPT" fi - Gennadiy On Sat, Dec 28, 2013 at 5:45 AM, Eric V. Smith wrote: > On 12/27/2013 7:53 PM, Ethan Furman wrote: > > Greetings! > > > > I'

Re: [Python-Dev] assert(blah blah) in the C code base

2013-12-27 Thread Benjamin Peterson
2013/12/27 Ethan Furman : > Greetings! > > I'm working on Issue19995, and I'm seeing stuff like this: > > assert(PyLong_Check(val)); > > My question is: Are these asserts in final production code? They are compiled in when --with-pydebug is passed to configure. They should "never" fail. -- Re

Re: [Python-Dev] assert(blah blah) in the C code base

2013-12-27 Thread Eric V. Smith
On 12/27/2013 7:53 PM, Ethan Furman wrote: > Greetings! > > I'm working on Issue19995, and I'm seeing stuff like this: > > assert(PyLong_Check(val)); > > My question is: Are these asserts in final production code? > > My possible scenarios are: > > - the assert isn't in place > - the as

[Python-Dev] assert(blah blah) in the C code base

2013-12-27 Thread Ethan Furman
Greetings! I'm working on Issue19995, and I'm seeing stuff like this: assert(PyLong_Check(val)); My question is: Are these asserts in final production code? My possible scenarios are: - the assert isn't in place - the assert isn't working correctly - PyLong_Check isn't working correc

[Python-Dev] Summary of Python tracker Issues

2013-12-27 Thread Python tracker
ACTIVITY SUMMARY (2013-12-20 - 2013-12-27) Python tracker at http://bugs.python.org/ To view or respond to any of the issues listed below, click on the issue. Do NOT respond to this message. Issues counts and deltas: open4332 ( +9) closed 27520 (+36) total 31852 (+45) Open issues wit