diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-03-06 12:15:25 +0100 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-03-06 12:15:25 +0100 |
commit | 96aa3a31023d9b170c4e3d0ef5090a2f21f0b64b (patch) | |
tree | 06c73d3e12ffd23a32932d2a16417b81dbda9c00 /tests/float/complex1.py | |
parent | 914648ce0e353b5af59dbd3412bb4aa438864010 (diff) | |
download | micropython-96aa3a31023d9b170c4e3d0ef5090a2f21f0b64b.tar.gz micropython-96aa3a31023d9b170c4e3d0ef5090a2f21f0b64b.zip |
py/modsys: Use MP_SMALL_INT_MAX for sys.maxsize in case of LONGINT_IMPL_NONE.
INT_MAX used previosly is indeed max value for int, whereas on LP64
platforms, long is used for mp_int_t. Using MP_SMALL_INT_MAX is the
correct way to do it anyway.
Diffstat (limited to 'tests/float/complex1.py')
0 files changed, 0 insertions, 0 deletions