Message 186726 - Python tracker (original) (raw)
Is padding with NUL a legitimate use case?
I don't see a good reason to disallow it, and it seems like a fairly plausible need. Numpy, for example, pads strings will NUL bytes when placing a short string in long fixed-width field.