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 ronaldoussoren
Recipients mark.dickinson, ned.deily, ronaldoussoren, wayedt
Date 2014-07-20.14:46:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <DD41D1E2-3C54-475A-B4B7-6F8E2FAC2BD5@mac.com>
In-reply-to <1405845126.14.0.978001778007.issue22012@psf.upfronthosting.co.za>
Content
> On 20 jul. 2014, at 10:32, Mark Dickinson <report@bugs.python.org> wrote:
> 
> 
> Mark Dickinson added the comment:
> 
>> In practice, I doubt that Python's going to meet such platforms in a hurry.
> 
> Hrm; looks like that's not a particularly safe assumption, especially with older compilers that might do a "typedef int _Bool"

I'm not sure about the actual definition, but at least for OSX on PPC sizeof(bool) is not 1. I ran into this with pyobjc when I tried to treat BOOL and bool the same.

All of this is with Objective-C, but the same should be true for plain C.
History
Date User Action Args
2014-07-20 14:46:01ronaldoussorensetrecipients: + ronaldoussoren, mark.dickinson, ned.deily, wayedt
2014-07-20 14:46:00ronaldoussorenlinkissue22012 messages
2014-07-20 14:46:00ronaldoussorencreate