summaryrefslogtreecommitdiffstatshomepage
path: root/py/parsenum.c
Commit message (Collapse)AuthorAge
* Remove exception name from inside the exception messageAndrew Scheller2014-04-09
| | | | | This prevents micropython printing exception messages like ImportError: ImportError: No module named 'foo'
* py: Change nlr_jump to nlr_raise, to aid in debugging.Damien George2014-04-05
| | | | | | This does not affect code size or performance when debugging turned off. To address issue #420.
* py: Put back proper ValueError for badly parsed integers.Damien George2014-03-21
|
* py: Improve mp_parse_num_integer; make it self contained.Damien George2014-03-21
|
* py: Allow 'complex()' to take a string as first argument.Damien George2014-03-21
|
* py: Implement parsing of infinity and nan for floats.Damien George2014-03-21
|
* py: Clean up includes.xbe2014-03-17
| | | | Remove unnecessary includes. Add includes that improve portability.
* py: Implement bit-shift and not operations for mpz.Damien George2014-03-01
| | | | | | 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.
* py: Put number parsing code together in parsenum.c.Damien George2014-02-22