| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-03-14 | py: Fix builtin abs so it works for bools and bignum. | Damien George | |
| 2015-01-24 | py: Add float-to-int classification function | David Steinberg | |
| 2015-01-01 | py: Move to guarded includes, everywhere in py/ core. | Damien George | |
| Addresses issue #1022. | |||
| 2014-10-03 | py: Convert [u]int to mp_[u]int_t where appropriate. | Damien George | |
| Addressing issue #50. | |||
| 2014-09-15 | py: Move definition of mp_sys_exit to core. | Damien George | |
| sys.exit always raises SystemExit so doesn't need a special implementation for each port. If C exit() is really needed, use the standard os._exit function. Also initialise mp_sys_path and mp_sys_argv in teensy port. | |||
| 2014-08-30 | Change some parts of the core API to use mp_uint_t instead of uint/int. | Damien George | |
| Addressing issue #50, still some way to go yet. | |||
| 2014-07-24 | py: Make long ints hashable. | Damien George | |
| Addresses issue #765. | |||
| 2014-05-17 | py: More const usage. | Paul Sokolovsky | |
| 2014-05-03 | Add license header to (almost) all files. | Damien George | |
| Blanket wide to all .c and .h files. Some files originating from ST are difficult to deal with (license wise) so it was left out of those. Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/. | |||
| 2014-04-08 | py: Make it so that printing a small int does not allocate heap memory. | Damien George | |
| With the implementation of proper string formatting, code to print a small int was delegated to mpz_as_str_inpl (after first converting the small int to an mpz using stack memory). But mpz_as_str_inpl allocates heap memory to do the conversion, so small ints needed heap memory just to be printed. This fix has a separate function to print small ints, which does not allocate heap, and allocates less stack. String formatting, printf and pfenv are now large beasts, with some semi-duplicated code. | |||
| 2014-04-07 | Add string formatting support for longlong and mpz. | Dave Hylands | |
| 2014-04-04 | py: Make False and True act like 0 and 1 for integer arithmetic. | Damien George | |
| 2014-02-22 | Add arbitrary precision integer support. | Damien George | |
| Some functionality is still missing (eg and, or, bit shift), and some things are buggy (eg subtract). | |||
| 2014-02-15 | py: Revent some long int configuration. | Damien George | |
| 2014-02-15 | Small change to configuration of long int. | Damien George | |
| 2014-02-14 | ffi: Implement ffivar.get()/set() methods. | Paul Sokolovsky | |
| Done by introducing another factored out helper API in binary.c. This API can be reused also by array and struct modules. | |||
| 2014-01-27 | long int: Implement more operations. | Paul Sokolovsky | |
| 2014-01-15 | type->print(): Distinguish str() and repr() variety by passing extra param. | Paul Sokolovsky | |
| 2014-01-13 | Move mp_obj_int_t definition to objint.h, to reuse in long int impls. | Paul Sokolovsky | |
