Message362833
the concept of a native _Bool seems fuzzy. the important thing for the struct module is to consume sizeof _Bool bytes from the input stream. how those are interpreted is up to the platform. So if the platform says a bool is 8 bytes and it only ever looks at the lowest bit in those for bool-ness, good for it.
in that situation our unittest assuming that b'\xf0' should be true when interpreted as a bool is wrong.
just get rid of that value from the loop in the test? |
|
Date |
User |
Action |
Args |
2020-02-27 20:02:24 | gregory.p.smith | set | recipients:
+ gregory.p.smith, mark.dickinson, vstinner, benjamin.peterson, petr.viktorin, meador.inge, cstratak |
2020-02-27 20:02:24 | gregory.p.smith | set | messageid: <1582833744.62.0.868537406902.issue39689@roundup.psfhosted.org> |
2020-02-27 20:02:24 | gregory.p.smith | link | issue39689 messages |
2020-02-27 20:02:24 | gregory.p.smith | create | |
|