[Python-Dev] #ifdef __cplusplus?
Kristján Valur Jónsson
kristjan at ccpgames.com
Tue Jan 6 15:15:02 CET 2009
Only crt asserts, and those assertion features accessible through the <crtdbg.h> file, such as _ASSERT and _ASSERTE.
Kristj'an
-----Original Message-----
From: python-dev-bounces+kristjan=ccpgames.com at python.org [mailto:python-dev-bounces+kristjan=ccpgames.com at python.org] On Behalf Of M.-A. Lemburg
Sent: 6. janúar 2009 13:23
To: mhammond at skippinet.com.au
Cc: python-dev at python.org
Subject: Re: [Python-Dev] #ifdef __cplusplus?
On 2009-01-05 23:17, Mark Hammond wrote:
> On 5/01/2009 11:13 PM, M.-A. Lemburg wrote:
>
>> See above. Assertions are not meant to be checked in a production
>> build. You use debug builds for debugging such low-level things.
>
> Although ironically, assertions have been disabled in debug builds on
> Windows - http://bugs.python.org/issue4804
Does this only affect asserts defined in the CRT or also ones defined
in the Python C code ? (I was only referring to the latter)
More information about the Python-Dev
mailing list