New submission from Mark Dickinson <dicki...@gmail.com>:
Use `struct.calcsize('<L')` or `struct.calcsize('>L')` if you want the standard sizes and formats given in the documentation. The note at the top of the struct module documentation describes the difference. See also #1709506. ---------- nosy: +mark.dickinson resolution: -> not a bug stage: -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40538> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com