Author skrah
Recipients ammar2, benjamin.peterson, cstratak, gregory.p.smith, mark.dickinson, meador.inge, miss-islington, petr.viktorin, skrah, vstinner
Date 2020-03-17.16:59:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1584464342.64.0.717716635828.issue39689@roundup.psfhosted.org>
In-reply-to
Content
> So it's clear that something has to change. IMO, preserving (2) and relaxing (1) is the more useful choice.

But not in this issue I think. GH-18969 is a minimal change that
*removes* UB for the standard sizes.


UB for the native type is a direct consequence of using _Bool.
Native types should be left as is because that's what array
libraries expect. The docs could need a change (in another issue).


Also, UB can only happen in a constructed example --- correctly
packed arrays don't have any incorrect values.


So I think any fear of UB here is not warranted.
History
Date User Action Args
2020-03-17 16:59:02skrahsetrecipients: + skrah, gregory.p.smith, mark.dickinson, vstinner, benjamin.peterson, petr.viktorin, meador.inge, cstratak, ammar2, miss-islington
2020-03-17 16:59:02skrahsetmessageid: <1584464342.64.0.717716635828.issue39689@roundup.psfhosted.org>
2020-03-17 16:59:02skrahlinkissue39689 messages
2020-03-17 16:59:02skrahcreate