- Jun 13, 2014
-
-
stijn authored
void* is of unknown size
-
- Jun 12, 2014
-
-
Damien George authored
-
- Jun 11, 2014
-
-
Paul Sokolovsky authored
Functionality we provide in builtin io module is fairly minimal. Some code, including CPython stdlib, depends on more functionality. So, there's a choice to either implement it in C, or move it _io, and let implement other functionality in Python. 2nd choice is pursued. This setup matches CPython too (_io is builtin, io is Python-level).
-
Damien George authored
-
Damien George authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
It needs to be reused for generator functions, too.
-
Damien George authored
-
Damien George authored
Also now returns correct POSIX errno when an IO operation fails. Addresses issues #516 and #676.
-
- Jun 10, 2014
-
-
Damien George authored
-
- Jun 09, 2014
-
-
Paul Sokolovsky authored
Remove unnecessary bounds check from mp_seq_get_fast_slice_indexes.
-
Chris Angelico authored
At this point, start will be >= 0, so checking if stop < 0 is redundant with checking if start > stop a few lines later.
-
- Jun 08, 2014
-
-
Paul Sokolovsky authored
This is getting more and more tangled, but that's old news.
-
Paul Sokolovsky authored
As before, instead of pushing constant values on stack again and again, just pass around pointer to a structure.
-
Damien George authored
See PR #618.
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
- Jun 07, 2014
-
-
Damien George authored
-
Damien George authored
-
Paul Sokolovsky authored
-
Damien George authored
Conflicts: py/emitglue.c
-
Paul Sokolovsky authored
-
Damien George authored
Should finish addressing issue #524.
-
Paul Sokolovsky authored
Ports which wants to have it, should define MICROPY_PY_SYS_PLATFORM to a string value they need.
-
Paul Sokolovsky authored
Benefits: won't crash baremetal targets, will provide Python source location when not implemented feature used (it will no longer provide C source location, but just grep for error message).
-
Damien George authored
This reduces stack usage by 16 words (64 bytes) for stmhal/ port. See issue #640.
-
Damien George authored
?= operator does not do delayed expansion (unlike =).
-
Damien George authored
toolchain fixes to enable cross compatibility
-
Damien George authored
Build patches for FreeBSD (as discussed in the former pull request #666)
-
Marcus von Appen authored
cast error in MP_OBJ_NEW_SMALL_INT(). This is necessary for FreeBSD, where st_ino is of different size - If MP_CLOCKS_PER_SEC is defined on the target host, simply define CLOCK_DIV as a fraction, regardless of the value of MP_CLOCKS_PER_SEC. FreeBSD uses a non-POSIX compliant value of 128 for CLOCKS_PER_SEC
-
Marcus von Appen authored
- Move the includes for alloca() intp mpconfigport.h
-
Marcus von Appen authored
there are special tweaks and paths to be considered. Just provide some defaults, in case the values are undefined. - py-version.sh does not need any bash specific features. - Use libdl only on Linux for now. FreeBSD provides dl*() calls from libc.
-
- Jun 06, 2014
-
-
Damien George authored
unix: Fix path seperator used depending on OS
-