Message364044
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. |
|
Date |
User |
Action |
Args |
2020-03-12 19:11:20 | skrah | set | recipients:
+ skrah, gregory.p.smith, mark.dickinson, vstinner, benjamin.peterson, petr.viktorin, meador.inge, cstratak, ammar2, miss-islington |
2020-03-12 19:11:20 | skrah | set | messageid: <1584040280.85.0.763181833636.issue39689@roundup.psfhosted.org> |
2020-03-12 19:11:20 | skrah | link | issue39689 messages |
2020-03-12 19:11:20 | skrah | create | |
|