Author skrah
Recipients ammar2, benjamin.peterson, cstratak, gregory.p.smith, mark.dickinson, meador.inge, miss-islington, petr.viktorin, ronaldoussoren, skrah, vstinner
Date 2020-03-18.10:23:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I think this issue should be about fixing the tests so that people
looking at the sanitizer buildbots can move on.

GH-18969 fixes "<?", ">?" and "!?", which clearly used wrong
semantics with the new compiler behavior. This should be an
uncontroversial fix that also takes care of test_struct.

Can we please discuss native _Bool in another issue?

There is no non-hackish way of unpacking _Bool if new compilers
essentially treat values outside [0, 1] as a trap representation.

You could determine sizeof(_Bool), use the matching unsigned type,
unpack as that, then cast to _Bool. But do you really want to force
that procedure on all array libraries that want to be PEP-3118

I'd rather deprecate _Bool and use uint8_t, but that definitely
deserves a separate issue.
Date User Action Args
2020-03-18 10:23:28skrahsetrecipients: + skrah, gregory.p.smith, ronaldoussoren, mark.dickinson, vstinner, benjamin.peterson, petr.viktorin, meador.inge, cstratak, ammar2, miss-islington
2020-03-18 10:23:28skrahsetmessageid: <>
2020-03-18 10:23:28skrahlinkissue39689 messages
2020-03-18 10:23:28skrahcreate