| if (offset < 0) { | ||
| if (offset + self->s_size > 0) { | ||
| PyErr_Format(StructError, | ||
| "no space to unpack %zd bytes at offset %zd", |
There was a problem hiding this comment.
I think it would better sound as "not enough data" or like.
There was a problem hiding this comment.
lol. That's my first draft.
https://bugs.python.org/issue30249