Author skrah
Recipients ammar2, benjamin.peterson, cstratak, gregory.p.smith, mark.dickinson, meador.inge, miss-islington, petr.viktorin, skrah, vstinner
Date 2020-03-12.19:11:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1584040280.85.0.763181833636.issue39689@roundup.psfhosted.org>
In-reply-to
Content
memoryview only supports the native format, so I've disabled the
(wrong) test that casts arrays with arbitrary values to _Bool. So
memoryview is done.


IMO the problem in _struct is that it swaps the x->unpack function
for the native one, which does not seem right for _Bool:

        /* Scan through the native table, find a matching
           entry in the endian table and swap in the
           native implementations whenever possible
           (64-bit platforms may not have "standard" sizes) */

If one disables that swap, the tests pass here.
History
Date User Action Args
2020-03-12 19:11:20skrahsetrecipients: + skrah, gregory.p.smith, mark.dickinson, vstinner, benjamin.peterson, petr.viktorin, meador.inge, cstratak, ammar2, miss-islington
2020-03-12 19:11:20skrahsetmessageid: <1584040280.85.0.763181833636.issue39689@roundup.psfhosted.org>
2020-03-12 19:11:20skrahlinkissue39689 messages
2020-03-12 19:11:20skrahcreate