[issue15597] exception __suppress_context__ test failures on OS X ppc systems

2012-08-08 Thread Ned Deily
Ned Deily added the comment: The patch does indeed fix all of the __suppress_context__ related test failures previously seen, i.e. test_exceptions, test_ipaddress, test_raise, and test_traceback. -- ___ Python tracker

[issue15597] exception __suppress_context__ test failures on OS X ppc systems

2012-08-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset e2df976b8a33 by Benjamin Peterson in branch 'default': use char instead of int to please T_BOOL (closes #15597) http://hg.python.org/cpython/rev/e2df976b8a33 -- nosy: +python-dev resolution: -> fixed stage: needs patch -> committed/rejected

[issue15597] exception __suppress_context__ test failures on OS X ppc systems

2012-08-08 Thread STINNER Victor
STINNER Victor added the comment: __suppress_context__ is a member using T_BOOL type. T_BOOL expects the C type "char", whereas the field in the PyBaseExceptionObject is a C "int". Attached patch changes the type and should fix the issue. The test fails because writing into the field uses: *

[issue15597] exception __suppress_context__ test failures on OS X ppc systems

2012-08-08 Thread Benjamin Peterson
Benjamin Peterson added the comment: Does this fix it? -- keywords: +patch Added file: http://bugs.python.org/file26731/char.patch ___ Python tracker ___

[issue15597] exception __suppress_context__ test failures on OS X ppc systems

2012-08-08 Thread Ned Deily
Changes by Ned Deily : -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue15597] exception __suppress_context__ test failures on OS X ppc systems

2012-08-08 Thread Ned Deily
Ned Deily added the comment: It appears similar failures are occuring on Sparc platforms (see issue15589) another big-endian platform. -- ___ Python tracker ___

[issue15597] exception __suppress_context__ test failures on OS X ppc systems

2012-08-08 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue15597] exception __suppress_context__ test failures on OS X ppc systems

2012-08-08 Thread Ned Deily
New submission from Ned Deily: == CPython 3.3.0b1 (default:efb30bdcfa1e, Aug 8 2012, 15:43:49) [GCC 4.0.1 (Apple Inc. build 5493)] == Darwin-8.11.0-Power_Macintosh-powerpc-32bit big-endian == /private/tmp/test_python_13864 Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, opti