- 13 May, 2014 1 commit
-
-
Paul Sokolovsky authored
-
- 11 May, 2014 6 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
This is not fully correct re: error handling, because we should check that that types are used consistently (only str's or only bytes), but magically makes lot of functions support bytes.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- 10 May, 2014 4 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Damien George authored
-
Paul Sokolovsky authored
Should support everything supported by strings.
-
- 06 May, 2014 1 commit
-
-
Paul Sokolovsky authored
Addresses #567.
-
- 03 May, 2014 1 commit
-
-
Damien George authored
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/.
-
- 02 May, 2014 1 commit
-
-
Paul Sokolovsky authored
Specifically, nlr.h does.
-
- 30 Apr, 2014 1 commit
-
-
Paul Sokolovsky authored
-
- 26 Apr, 2014 2 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Share code with .strip(). TODO: optimize .rstrip().
-
- 19 Apr, 2014 1 commit
-
-
Paul Sokolovsky authored
-
- 18 Apr, 2014 1 commit
-
-
Damien George authored
When querying an object that supports the buffer protocol, that object must now return a typecode (as per binary.[ch]). This does not have to be honoured by the caller, but can be useful for determining element size.
-
- 17 Apr, 2014 2 commits
-
-
Damien George authored
Also make consistent use of MP_OBJ_NOT_SUPPORTED and MP_OBJ_NULL. This helps a lot in debugging and understanding of function API.
-
Damien George authored
mp_obj_t->subscr now does load/store/delete.
-
- 15 Apr, 2014 2 commits
-
-
Damien George authored
-
Damien George authored
-
- 14 Apr, 2014 1 commit
-
-
Damien George authored
Disabled by default. Enabled in unix port.
-
- 13 Apr, 2014 4 commits
-
-
Paul Sokolovsky authored
Similar to tuples, lists, dicts. Statically allocated strings don't have hash computed.
-
Paul Sokolovsky authored
This feature was proposed with initial hashing RFC, and is prerequisite for seamless static str object definition.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
These largely duplicate str() & bytes() constructors' functionality, but can be used to achieve Python2 compatibility.
-
- 11 Apr, 2014 1 commit
-
-
Damien George authored
It has (again) a fast path for ints, and a simplified "slow" path for everything else. Also simplify the way str indexing is done (now matches tuple and list).
-
- 09 Apr, 2014 3 commits
-
-
Paul Sokolovsky authored
-
Damien George authored
mp_obj_is_integer should be used to check if an object is of integral type. It returns true for bool, small int and long int.
-
Damien George authored
-
- 08 Apr, 2014 5 commits
-
-
xbe authored
-
xbe authored
-
Paul Sokolovsky authored
-
Andrew Scheller authored
-
Damien George authored
stmhal relies on pfenv_* to implement its printf. Thus, it needs a pfenv_print_int which prints a proper 32-bit integer. With latest change to pfenv, this function became one that took mp_obj_t, and extracted the integer value from that object. To fix temporarily, pfenv_print_int has been renamed to pfenv_print_mp_int (to indicate it takes a mp_obj_t for the int), and pfenv_print_int has been added (which takes a normal C int). Currently, pfenv_print_int proxies to pfenv_print_mp_int, but this means it looses the MSB. Need to find a way to fix this, but the only way I can think of will duplicate lots of code.
-
- 07 Apr, 2014 1 commit
-
-
Dave Hylands authored
-
- 06 Apr, 2014 2 commits
-
-
Damien George authored
-
Damien George authored
-