| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
Implement str.partition and add tests for it.
|
|
|
|
|
|
|
|
Switch str.rpartition to search from left to right. Factor the
duplicate code into one helper function.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Remove unnecessary includes. Add includes that improve portability.
|
|
|
|
|
|
|
|
|
|
|
|
See pull request #343.
|
|
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.
|
|
|
|
Fix realloc
|
|
|
|
|
|
If operation will overflow, a multi-precision integer is created.
|
|
A couple of bugs in mpn_shl, and overflow bug in mpz_set_from_int.
|
|
MICROPY_ENABLE_FLOAT is automatically set in mpconfig.h if MICROPY_FLOAT_IMPL
is set to a non-zero value.
|
|
|
|
|
|
|
|
|
|
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).
|
|
|
|
|
|
|
|
|
|
|
|
Fix gc_realloc to expand in place
|
|
* Issue #322
|