Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Merge remote-tracking branch 'upstream/master' | Rachel Dowdall | 2014-03-22 |
|\ | |||
| * | showbc: Dump YIELD_FROM. | Paul Sokolovsky | 2014-03-22 |
| | | |||
| * | py: Make 'bytes' be a proper type, support standard constructor args. | Paul Sokolovsky | 2014-03-22 |
| | | |||
| * | py: Make 'str' be a proper type, support standard constructor args. | Paul Sokolovsky | 2014-03-22 |
| | | |||
| * | objstr: Switch from in-object string data to ptr to separate memory area. | Paul Sokolovsky | 2014-03-22 |
| | | | | | | | | | | | | This is pre-requisite for having efficient implementation of str<->bytes conversion, and having that efficient is required with unfortunare str vs bytes dichotomy in Python3. | ||
| * | Disable some math functions until they work correctly. | Damien George | 2014-03-21 |
| | | |||
| * | py: Put back proper ValueError for badly parsed integers. | Damien George | 2014-03-21 |
| | | |||
| * | py: Make str.[r]partition more efficient. | Damien George | 2014-03-21 |
| | | |||
| * | Merge pull request #351 from xbe/str-partition | Damien George | 2014-03-21 |
| |\ | | | | | | | Implement str.partition and add tests for it. | ||
| | * | str.(r)partition: factor out duplicate code. | xbe | 2014-03-21 |
| | | | | | | | | | | | | | | | Switch str.rpartition to search from left to right. Factor the duplicate code into one helper function. | ||
| | * | Implement str.rpartition and add tests for it. | xbe | 2014-03-21 |
| | | | |||
| | * | Implement str.partition and add tests for it. | xbe | 2014-03-21 |
| | | | |||
| * | | py: Improve mp_parse_num_integer; make it self contained. | Damien George | 2014-03-21 |
| | | | |||
| * | | py: Allow 'complex()' to take a string as first argument. | Damien George | 2014-03-21 |
| | | | |||
| * | | py: Implement parsing of infinity and nan for floats. | Damien George | 2014-03-21 |
| | | | |||
* | | | Added ZeroDivisionError to float division. | Rachel Dowdall | 2014-03-20 |
|/ / | |||
* | | Added various simple functions to math module. | Rachel Dowdall | 2014-03-20 |
| | | |||
* | | Added various simple functions to math module. | Rachel Dowdall | 2014-03-20 |
| | | |||
* | | py: Fix int-longlong binary operations. | Damien George | 2014-03-20 |
| | | |||
* | | py: Allow hashing of functions and tuples. | Damien George | 2014-03-20 |
| | | |||
* | | py: Add math.e constant. | Damien George | 2014-03-20 |
| | | |||
* | | py: Add mpz modulo operation. | Damien George | 2014-03-20 |
|/ | |||
* | py: Add comment about bugs in objint_longlong.c. | Damien George | 2014-03-19 |
| | |||
* | py: Fix bug in mpz int, where small int is on lhs, mpz on rhs. | Damien George | 2014-03-19 |
| | |||
* | objstr.c: Replace size_t with machine_uint_t. | xbe | 2014-03-17 |
| | |||
* | py: Clean up includes. | xbe | 2014-03-17 |
| | | | | Remove unnecessary includes. Add includes that improve portability. | ||
* | Implement support for __str__ and __repr__ special methods in classes. | Paul Sokolovsky | 2014-03-16 |
| | |||
* | py: Fix bug in vstr_ins_blank_bytes. | Damien George | 2014-03-15 |
| | |||
* | Add vstr_ins and vstr_cut_out; improve stmhal readline. | Damien George | 2014-03-15 |
| | |||
* | stmhal - add pin mapping, gpio, exti, usrsw | Dave Hylands | 2014-03-14 |
| | |||
* | py: In string.count, handle case of zero-length needle. | Damien George | 2014-03-13 |
| | |||
* | Fix issues in str.count implementation. | xbe | 2014-03-13 |
| | | | | See pull request #343. | ||
* | Implement str.count and add tests for it. | xbe | 2014-03-12 |
| | | | | | | | Also modify mp_get_index to accept: 1. Indices that are or evaluate to a boolean. 2. Slice indices. Add tests for these two cases. | ||
* | py: Cosmetic changes. | Damien George | 2014-03-12 |
| | |||
* | Merge pull request #340 from iabdalkader/realloc | Damien George | 2014-03-12 |
|\ | | | | | Fix realloc | ||
| * | Fix realloc | mux | 2014-03-12 |
| | | |||
* | | py: Add expm1 to math module. | Damien George | 2014-03-12 |
| | | |||
* | | py: Implement integer overflow checking for * and << ops. | Damien George | 2014-03-12 |
| | | | | | | | | If operation will overflow, a multi-precision integer is created. | ||
* | | py: Fix some bugs in mpz; add mpz_from_ll and mpz_set_from_ll. | Damien George | 2014-03-12 |
|/ | | | | A couple of bugs in mpn_shl, and overflow bug in mpz_set_from_int. | ||
* | Rename formatfloat file; remove MICROPY_ENABLE_FLOAT from mpconfigport.h. | Damien George | 2014-03-10 |
| | | | | | MICROPY_ENABLE_FLOAT is automatically set in mpconfig.h if MICROPY_FLOAT_IMPL is set to a non-zero value. | ||
* | Add proper floating point printing support. | Dave Hylands | 2014-03-10 |
| | |||
* | Fix makeqstrdata.py to work in Python 2.7 | Dave Hylands | 2014-03-10 |
| | |||
* | py: Make objstr support buffer protocol (read only). | Damien George | 2014-03-09 |
| | |||
* | py: Fix printing of type name. | Damien George | 2014-03-09 |
| | |||
* | Implement ROMable modules. Add math module. | Damien George | 2014-03-08 |
| | | | | | | | | | | mp_module_obj_t can now be put in ROM. Configuration of float type is now similar to longint: can now choose none, float or double as the implementation. math module has basic math functions. For STM port, these are not yet implemented (they are just stub functions). | ||
* | py: Wrap mpz float functions in MICROPY_ENABLE_FLOAT. | Damien George | 2014-03-08 |
| | |||
* | makeqstrdata: print error to stderr. | Damien George | 2014-03-08 |
| | |||
* | py: Revert to old gc_realloc for now. | Damien George | 2014-03-07 |
| | |||
* | py: Add comments to new gc_realloc, it has some bugs. | Damien George | 2014-03-06 |
| | |||
* | py: Small cosmetic changes to gc_realloc. | Damien George | 2014-03-06 |
| |