Message391388
Even better, one that doesn't crash but safely returns a value that can be checked. (IIRC, we have a test that does this to ensure that structs smaller than 9 bytes are passed on the stack.)
Half C/half Python is fine - the C bits would go into _ctypes_test.c
Given how well you reported the issue in the first place, I'm confident the quick start in the devguide will get you up and building quickly: https://devguide.python.org/ Adding the test might be a bit more of an adventure (though not as much as fixing it...) |
|
Date |
User |
Action |
Args |
2021-04-19 19:31:47 | steve.dower | set | recipients:
+ steve.dower, paul.moore, christian.heimes, tim.golden, zach.ware, David Heffernan, michaeldcurran |
2021-04-19 19:31:47 | steve.dower | set | messageid: <1618860707.87.0.115491794171.issue38748@roundup.psfhosted.org> |
2021-04-19 19:31:47 | steve.dower | link | issue38748 messages |
2021-04-19 19:31:47 | steve.dower | create | |
|