homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients benjamin.peterson, georg.brandl, ned.deily, pitrou, vstinner
Date 2012年08月09日.00:09:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1344470979.35.0.60856751492.issue15597@psf.upfronthosting.co.za>
In-reply-to
Content
__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:
 *(char*)field = value;
Which does not work in big endian if the field is a pointer to an int.
History
Date User Action Args
2012年08月09日 00:09:39vstinnersetrecipients: + vstinner, georg.brandl, pitrou, benjamin.peterson, ned.deily
2012年08月09日 00:09:39vstinnersetmessageid: <1344470979.35.0.60856751492.issue15597@psf.upfronthosting.co.za>
2012年08月09日 00:09:38vstinnerlinkissue15597 messages
2012年08月09日 00:09:38vstinnercreate

AltStyle によって変換されたページ (->オリジナル) /