Message223511
> 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. |
|
Date |
User |
Action |
Args |
2014-07-20 14:46:01 | ronaldoussoren | set | recipients:
+ ronaldoussoren, mark.dickinson, ned.deily, wayedt |
2014-07-20 14:46:00 | ronaldoussoren | link | issue22012 messages |
2014-07-20 14:46:00 | ronaldoussoren | create | |
|