summaryrefslogtreecommitdiff
path: root/py
AgeCommit message (Collapse)Author
2014-03-22showbc: Dump YIELD_FROM.Paul Sokolovsky
2014-03-22py: Make 'bytes' be a proper type, support standard constructor args.Paul Sokolovsky
2014-03-22py: Make 'str' be a proper type, support standard constructor args.Paul Sokolovsky
2014-03-22objstr: Switch from in-object string data to ptr to separate memory area.Paul Sokolovsky
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.
2014-03-21Disable some math functions until they work correctly.Damien George
2014-03-21py: Put back proper ValueError for badly parsed integers.Damien George
2014-03-21py: Make str.[r]partition more efficient.Damien George
2014-03-21Merge pull request #351 from xbe/str-partitionDamien George
Implement str.partition and add tests for it.
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-21str.(r)partition: factor out duplicate code.xbe
Switch str.rpartition to search from left to right. Factor the duplicate code into one helper function.
2014-03-21Implement str.rpartition and add tests for it.xbe
2014-03-21Implement str.partition and add tests for it.xbe
2014-03-20Added various simple functions to math module.Rachel Dowdall
2014-03-20Added various simple functions to math module.Rachel Dowdall
2014-03-20py: Fix int-longlong binary operations.Damien George
2014-03-20py: Allow hashing of functions and tuples.Damien George
2014-03-20py: Add math.e constant.Damien George
2014-03-20py: Add mpz modulo operation.Damien George
2014-03-19py: Add comment about bugs in objint_longlong.c.Damien George
2014-03-19py: Fix bug in mpz int, where small int is on lhs, mpz on rhs.Damien George
2014-03-17objstr.c: Replace size_t with machine_uint_t.xbe
2014-03-17py: Clean up includes.xbe
Remove unnecessary includes. Add includes that improve portability.
2014-03-16Implement support for __str__ and __repr__ special methods in classes.Paul Sokolovsky
2014-03-15py: Fix bug in vstr_ins_blank_bytes.Damien George
2014-03-15Add vstr_ins and vstr_cut_out; improve stmhal readline.Damien George
2014-03-14stmhal - add pin mapping, gpio, exti, usrswDave Hylands
2014-03-13py: In string.count, handle case of zero-length needle.Damien George
2014-03-13Fix issues in str.count implementation.xbe
See pull request #343.
2014-03-12Implement str.count and add tests for it.xbe
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.
2014-03-12py: Cosmetic changes.Damien George
2014-03-12Merge pull request #340 from iabdalkader/reallocDamien George
Fix realloc
2014-03-12py: Add expm1 to math module.Damien George
2014-03-12Fix reallocmux
2014-03-12py: Implement integer overflow checking for * and << ops.Damien George
If operation will overflow, a multi-precision integer is created.
2014-03-12py: Fix some bugs in mpz; add mpz_from_ll and mpz_set_from_ll.Damien George
A couple of bugs in mpn_shl, and overflow bug in mpz_set_from_int.
2014-03-10Rename formatfloat file; remove MICROPY_ENABLE_FLOAT from mpconfigport.h.Damien George
MICROPY_ENABLE_FLOAT is automatically set in mpconfig.h if MICROPY_FLOAT_IMPL is set to a non-zero value.
2014-03-10Add proper floating point printing support.Dave Hylands
2014-03-10Fix makeqstrdata.py to work in Python 2.7Dave Hylands
2014-03-09py: Make objstr support buffer protocol (read only).Damien George
2014-03-09py: Fix printing of type name.Damien George
2014-03-08Implement ROMable modules. Add math module.Damien George
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).
2014-03-08py: Wrap mpz float functions in MICROPY_ENABLE_FLOAT.Damien George
2014-03-08makeqstrdata: print error to stderr.Damien George
2014-03-07py: Revert to old gc_realloc for now.Damien George
2014-03-06py: Add comments to new gc_realloc, it has some bugs.Damien George
2014-03-06py: Small cosmetic changes to gc_realloc.Damien George
2014-03-05Merge pull request #334 from iabdalkader/reallocDamien George
Fix gc_realloc to expand in place
2014-03-05Fix gc_realloc to expand in placemux
* Issue #322