- 12 Aug, 2014 2 commits
-
-
Paul Sokolovsky authored
-
Damien George authored
reversed function now implemented, and works for tuple, list, str, bytes and user objects with __len__ and __getitem__. Renamed mp_builtin_len to mp_obj_len to make it publically available (eg for reversed).
-
- 19 Jul, 2014 1 commit
-
-
Paul Sokolovsky authored
And not system printf(), like it was before. For this, move pfenv_printf() from stmhal port to py/.
-
- 09 Jul, 2014 1 commit
-
-
Paul Sokolovsky authored
But much smaller and memory-efficient. Uses Python builtin data structures (dict, tuple, int) to describe structure layout.
-
- 24 May, 2014 1 commit
-
-
Paul Sokolovsky authored
.makefile() should allow to specify which stream time to create - byte or text.
-
- 11 May, 2014 1 commit
-
-
Paul Sokolovsky authored
-
- 05 May, 2014 1 commit
-
-
Paul Sokolovsky authored
-
- 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/.
-
- 17 Apr, 2014 2 commits
-
-
Damien George authored
Addresses issue #487.
-
Damien George authored
Not all functions implemented. Not enabled on pyboard.
-
- 15 Apr, 2014 2 commits
-
-
Damien George authored
-
Damien George authored
A one-liner, added especially for @pfalcon :)
-
- 13 Apr, 2014 4 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- 10 Apr, 2014 1 commit
-
-
Paul Sokolovsky authored
Only calcsize() and unpack() functions provided so far, for little-endian byte order. Format strings don't support repition spec (like "2b3i"). Unfortunately, dealing with all the various binary type sizes and alignments will lead to quite a bloated "binary" helper functions - if optimizing for speed. Need to think if using dynamic parametrized algos makes more sense.
-
- 05 Apr, 2014 2 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
That's how CPython has it, in particular, "import __main__" should work.
-
- 03 Apr, 2014 1 commit
-
-
Paul Sokolovsky authored
So far just includes "open" function, which should be supplied by a port. TODO: Make the module #ifdef'ed.
-
- 26 Mar, 2014 1 commit
-
-
Paul Sokolovsky authored
-
- 25 Mar, 2014 1 commit
-
-
Damien George authored
Comes with some refactoring of code and renaming of files. All modules are now named mod*.[ch].
-
- 24 Mar, 2014 1 commit
-
-
Damien George authored
-
- 08 Mar, 2014 1 commit
-
-
Damien George authored
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).
-
- 03 Mar, 2014 1 commit
-
-
Paul Sokolovsky authored
-
- 03 Feb, 2014 2 commits
-
-
Paul Sokolovsky authored
-
Damien George authored
-
- 02 Feb, 2014 2 commits
-
-
Damien George authored
Only works on modules and class instances.
-
xbe authored
-
- 20 Jan, 2014 3 commits
-
-
Paul Sokolovsky authored
Currently, MicroPython strings are mix between CPython byte and unicode strings. So, conversion is null so far. This dummy implementation is intended for compatibility with CPython (so, same code can run on both).
-
Damien George authored
-
Paul Sokolovsky authored
These are micropython.mem_total(), .mem_current(), .mem_peak(). These are 3 individual functions with simple scalar return value to make sure that calls to these functions themselves have minimal (hopefully zero) impact on memory allocation.
-
- 15 Jan, 2014 3 commits
-
-
Damien George authored
-
Damien George authored
-
Paul Sokolovsky authored
-
- 13 Jan, 2014 2 commits
-
-
Damien George authored
-
John R. Lenton authored
-
- 09 Jan, 2014 1 commit
-
-
Damien George authored
-
- 08 Jan, 2014 1 commit
-
-
Damien George authored
-
- 02 Jan, 2014 1 commit
-
-
Damien George authored
-