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>
Mon, 25 Nov 2019 17:51:33 +0000 (17:51 +0000)
commita4cc2ca5f36dfe675fd451606502b2479249463e
treec767c9f9934152ce2ceaf930fab16dcb0c818a47
parentf205cc7ab59d556b20f9b00bccd336eaacd6e489
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