summaryrefslogtreecommitdiff
path: root/tests/micropython/heapalloc_int_from_bytes.py.exp
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-05-05 21:42:39 +1000
committerDamien George <damien.p.george@gmail.com>2017-05-06 10:29:09 +1000
commit58bb73e010301235b32c3b81575af21cca55f2a7 (patch)
treed01586977dd71bc9a533bceb64dd7e899b2d5fc2 /tests/micropython/heapalloc_int_from_bytes.py.exp
parent288ea06e7ce80c24c242ebd065be39ab3ab64c12 (diff)
py/objint: In int.from_bytes, only create big-int if really needed.
This patch ensures that int.from_bytes only creates a big-int if necessary, by checking the value for a small-int overflow as it's being parsed.
Diffstat (limited to 'tests/micropython/heapalloc_int_from_bytes.py.exp')
0 files changed, 0 insertions, 0 deletions