Author petr.viktorin
Recipients ammar2, benjamin.peterson, cstratak, gregory.p.smith, mark.dickinson, meador.inge, petr.viktorin, skrah, vstinner
Date 2020-03-12.16:20:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> The docs for native mode (we now always assume C99):
> "The '?' conversion code corresponds to the _Bool type defined by C99."

But, nowhere is it suggested that conversion is "do memcpy and then interpret the bit pattern". That is pretty weird way to convert values in C; it seems to me that it's only a hack to avoid unaligned access.
IMO, casting is a more natural way to convert values. And casting to _Bool coerces the value to 0 or 1.
Date User Action Args
2020-03-12 16:20:51petr.viktorinsetrecipients: + petr.viktorin, gregory.p.smith, mark.dickinson, vstinner, benjamin.peterson, skrah, meador.inge, cstratak, ammar2
2020-03-12 16:20:51petr.viktorinsetmessageid: <>
2020-03-12 16:20:51petr.viktorinlinkissue39689 messages
2020-03-12 16:20:51petr.viktorincreate