Built-in Types — Python 3.12.16 documentation
The integer is represented using length bytes, and defaults to 1. An OverflowError is raised if the integer is not representable with the given number of bytes.Before Python starts up you can use an environment variable or an interpreter command line flag to configure the limit