summaryrefslogtreecommitdiffstatshomepage
path: root/py/parse.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-09-15 16:15:57 +0100
committerDamien George <damien.p.george@gmail.com>2015-09-15 16:15:57 +0100
commit8b4fb4fe140e9cf57fcfa258d0d2d6fe19090fc5 (patch)
treef37cb4277e50faa6d3116a7c9ebcb15395646caa /py/parse.h
parentb230a86d332376d15b61636111ce47c90a5ab54a (diff)
downloadmicropython-8b4fb4fe140e9cf57fcfa258d0d2d6fe19090fc5.tar.gz
micropython-8b4fb4fe140e9cf57fcfa258d0d2d6fe19090fc5.zip
py/mpz: Fix calculation of max digit storage for mpz; fix sys.maxsize.
When creating constant mpz's, the length of the mpz must be exactly how many digits are used (not allocated) otherwise these numbers are not compatible with dynamically allocated numbers. Addresses issue #1448.
Diffstat (limited to 'py/parse.h')
0 files changed, 0 insertions, 0 deletions