mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 12:40:15 +01:00
This patch allows uPy consts to be bignums, eg:
X = const(1 << 100)
The infrastructure for consts to be a bignum (rather than restricted to
small integers) has been in place for a while, ever since constant folding
was upgraded to allow bignums. It just required a small change (in this
patch) to enable it.
45 KiB
45 KiB