We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb7a491 commit 0f9e889Copy full SHA for 0f9e889
1 file changed
Modules/_struct.c
@@ -2339,6 +2339,9 @@ PyInit__struct(void)
2339
"unknown" float format */
2340
if (ptr->format == 'd' || ptr->format == 'f')
2341
break;
2342
+ /* Skip _Bool, semantics are different for standard size */
2343
+ if (ptr->format == '?')
2344
+ break;
2345
ptr->pack = native->pack;
2346
ptr->unpack = native->unpack;
2347
0 commit comments