[issue3545] Python turning off assertions (Windows)

2008-10-27 Thread Kevin Watters
Changes by Kevin Watters <[EMAIL PROTECTED]>: -- nosy: +kevinwatters ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mai

[issue3545] Python turning off assertions (Windows)

2008-08-14 Thread Martin v. Löwis
Changes by Martin v. Löwis <[EMAIL PROTECTED]>: -- resolution: -> wont fix status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue3545] Python turning off assertions (Windows)

2008-08-14 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > I have not yet seen any examples where the are erroneous assertions. Please take a look at the code in signalmodule.c. The MS CRT asserts that the signal number is supported (i.e. among a fixed list of signal numbers), even though C 99, 7.

[issue3545] Python turning off assertions (Windows)

2008-08-14 Thread Anders Bensryd
Anders Bensryd <[EMAIL PROTECTED]> added the comment: We started using Python 2.5.2 recently and a few developers have complained that they do not get any assertions anymore so yes, we do use _ASSERT() and _ASSERTE(), but after a brief look it seems as if we mainly use assert(). The developer

[issue3545] Python turning off assertions (Windows)

2008-08-13 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > 2) We have to remember to do this change every time we upgrade to a > newer version of Python. Every new MSVC release brings new problems, as far back as I remember. Did you actually try to turn it off? Did it work? What if you do 'open(

[issue3545] Python turning off assertions (Windows)

2008-08-13 Thread Anders Bensryd
Anders Bensryd <[EMAIL PROTECTED]> added the comment: Yes, we could do that. However, my concerns are: 1) We cannot be the only Python user that experience this issue? I would prefer one of these solutions (in this order): a) A parameter to Py_Initialize (structure) that controls its behaviou

[issue3545] Python turning off assertions (Windows)

2008-08-12 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: As you must be building your own Python DLL, anyway, can't you just simply remove that code if you don't want it? -- nosy: +loewis ___ Python tracker <[EMAIL PROTECTED]>

[issue3545] Python turning off assertions (Windows)

2008-08-12 Thread Anders Bensryd
New submission from Anders Bensryd <[EMAIL PROTECTED]>: We are using Windows XP SP2, Visual Studio 2005 & Python 2.5.2. In Objects/exceptions.c the following code turns off all assertions. #if defined _MSC_VER && _MSC_VER >= 1400 && defined(__STDC_SECURE_LIB__) /* Set CRT argument error hand