[Python-Dev] #ifdef __cplusplus? (original) (raw)

M.-A. Lemburg mal at egenix.com
Tue Jan 6 15:42:51 CET 2009


On 2009-01-06 15:15, Kristján Valur Jónsson wrote:

Only crt asserts, and those assertion features accessible through the <crtdbg.h> file, such as ASSERT and ASSERTE.

Thanks.

In that case, I don't see much of a problem... after all, if someone runs a Python debug build, they won't be trying to debug the MS CRT, only Python ;-)

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)

-- Marc-Andre Lemburg eGenix.com

Professional Python Services directly from the Source (#1, Jan 06 2009)

Python/Zope Consulting and Support ... http://www.egenix.com/ mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/


::: Try our new mxODBC.Connect Python Database Interface for free ! ::::

eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/



More information about the Python-Dev mailing list