Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
Closed
Description
Reproducer:
importstructstruct.unpack('!q',b'\xff\xff\xff\xff\xff\xff\xff\xff')
Error:
Modules/_struct.c:842:15: runtime error: left shift of 72057594037927935 by 8 places cannot be represented in type 'long long int'Compiler options:
./configure -C --with-pydebug --with-address-sanitizer --with-undefined-behavior-sanitizerPython version:Python 3.12.0a0 (heads/main:30cc1901efa, Sep 10 2022, 10:14:58) [GCC 9.4.0] on linux