summaryrefslogtreecommitdiff
path: root/py/parsenum.c
AgeCommit message (Collapse)Author
2014-04-09Remove exception name from inside the exception messageAndrew Scheller
This prevents micropython printing exception messages like ImportError: ImportError: No module named 'foo'
2014-04-05py: Change nlr_jump to nlr_raise, to aid in debugging.Damien George
This does not affect code size or performance when debugging turned off. To address issue #420.
2014-03-21py: Put back proper ValueError for badly parsed integers.Damien George
2014-03-21py: Improve mp_parse_num_integer; make it self contained.Damien George
2014-03-21py: Allow 'complex()' to take a string as first argument.Damien George
2014-03-21py: Implement parsing of infinity and nan for floats.Damien George
2014-03-17py: Clean up includes.xbe
Remove unnecessary includes. Add includes that improve portability.
2014-03-01py: Implement bit-shift and not operations for mpz.Damien George
Implement not, shl and shr in mpz library. Add function to create mpzs on the stack, used for memory efficiency when rhs is a small int. Factor out code to parse base-prefix of number into a dedicated function.
2014-02-22py: Put number parsing code together in parsenum.c.Damien George