- 14 Jan, 2014 4 commits
-
-
Damien George authored
-
Paul Sokolovsky authored
So far, don't work for strings as expected.
-
Paul Sokolovsky authored
This implements internal args tuple of arguments, while still keeping object useful for reporting C-side errors. Further elaboration is needed.
-
Paul Sokolovsky authored
This is useful because tuple is closest analog of C static array.
-
- 13 Jan, 2014 13 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
vstr is initially intended to deal with arbitrary-length strings. By providing a bit lower-level API calls, it will be also useful to deal with arbitrary-length I/O buffers (the difference from strings is that buffers are filled from "outside", via I/O). Another issue, especially aggravated by I/O buffer use, is alloc size vs actual size length. If allocated 1Mb for buffer, but actually read 1 byte, we don't want to keep rest of 1Mb be locked by this I/O result, but rather return it to heap ASAP ("shrink" buffer before passing it to qstr_from_str_take()).
-
Paul Sokolovsky authored
By dispatching to long int methods.
-
Paul Sokolovsky authored
-
John R. Lenton authored
Made sorted() raise an exception instead of aborting when given no arguments; moved around some things in objfun.c as a consequence
-
John R. Lenton authored
-
Damien George authored
-
Damien George authored
-
Dave Hylands authored
This should fix issue #171
-
Dave Hylands authored
-
John R. Lenton authored
-
John R. Lenton authored
-
John R. Lenton authored
-
- 12 Jan, 2014 23 commits
-
-
John R. Lenton authored
-
John R. Lenton authored
-
John R. Lenton authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Long int is something which doesn't fit into SMALL_INT partion of machine_int_t. But it's also something which doesn't fit into machine_int_t in the first place.
-
Paul Sokolovsky authored
We likely should make mp_obj_new_int() inline, and rely on its encapsulated check rather than inline checks everywhere explicitly. Also, parser for big small int values is still broken.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
John R. Lenton authored
-
John R. Lenton authored
-
John R. Lenton authored
-
John R. Lenton authored
-
John R. Lenton authored
-
John R. Lenton authored
-
John R. Lenton authored
-
John R. Lenton authored
-
John R. Lenton authored
-
John R. Lenton authored
-
Damien George authored
-
Damien George authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Currently it would report "operation not supported" which is confusing. Overall, this is thinko leading to undefined behavior.
-