mp.c: Accept `0x', `0o' and `0b' prefixes on strings with explicit base.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 25 Nov 2019 12:49:34 +0000 (12:49 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 11 Apr 2020 11:49:31 +0000 (12:49 +0100)
commit08c09854b4382b5e249dc84bb785bf3857f7fdd8
tree5e0ab36debf9c73e2aabac60fe3125151fbee1a6
parentebe7d65db55a09676d4435bc74b65d1f68603130
mp.c: Accept `0x', `0o' and `0b' prefixes on strings with explicit base.

Python itself does this, so it seems like a good idea.
mp.c
t/t-mp.py