Results 3 comments of Stefan Krah

@terryjreedy No, `PyBuffer_SizeFromFormat()` has never been added. `struct.calcsize()` works for simple formats but cannot handle records. To implement that function properly for nested types, you need some sort of a...

@eric-wieser Thanks for trying out the other approach, if it's too much work I agree that we should not spend too much time on it. The principle of f4e3ca9 looks...

I've only reviewed the principle. The buffer protocol is maintained, it is `ctypes` that hardly anyone wants to touch. The buffer protocol part in the abstract looks correct, I don't...