- 07 Jan, 2016 2 commits
-
-
Damien George authored
This function returns the sign (-1, 0 or 1) of the integer object.
-
Damien George authored
Before this patch, (x+y)*z would be parsed to a tree that contained a redundant identity parse node corresponding to the parenthesis. With this patch such nodes are optimised away, which reduces memory requirements for expressions with parenthesis, and simplifies the compiler because it doesn't need to handle this identity case. A parenthesis parse node is still needed for tuples.
-
- 04 Jan, 2016 4 commits
-
-
Henrik Sölver authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
Handles, eg, "{:>20}".format("foo"), where there is no explicit spec for the type of the argument.
-
- 03 Jan, 2016 10 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
stijn authored
Note that even though wrapped in MICROPY_CPYTHON_COMPAT, it is not fully compatible because the modifications to the dictionary do not propagate to the actual instance members.
-
Dave Hylands authored
-
Antonin ENFRUN authored
-
Antonin ENFRUN authored
-
Damien George authored
Only types whose iterator instances still fit in 4 machine words have been changed to use the polymorphic iterator. Reduces Thumb2 arch code size by 264 bytes.
-
Paul Sokolovsky authored
-
Damien George authored
-
- 02 Jan, 2016 3 commits
-
-
Damien George authored
The traceback array stores qstrs and line numbers. qstrs are typed as size_t, and line numbers should safely fit in size_t as well.
-
Damien George authored
So that if MICROPY_FORCE_32BIT is set mpconfigport.mk it influences mkenv.mk.
-
Paul Sokolovsky authored
-
- 01 Jan, 2016 8 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Function to actually spool output terminal data to dupterm object.
-
Paul Sokolovsky authored
To comply with already established scheme for extmod's.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
That's just function which sets/gets dup terminal object, and can be easily reused across ports.
-
Paul Sokolovsky authored
To allow simple zero-terminated lexers.
-
- 31 Dec, 2015 6 commits
-
-
Damien George authored
-
Damien George authored
This makes the code portable to non-32-bit architectures.
-
Dave Hylands authored
The USB REPL has been broken since commit 1be0fde4 This patch allows the STM32F429DISC board (which uses the USB_HS PHY)
-
Damien George authored
It's possible to have a fixed map that is properly hashed (ie not simply ordered).
-
Damien George authored
-
Peter Hinch authored
-
- 30 Dec, 2015 4 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- 29 Dec, 2015 2 commits
-
-
Paul Sokolovsky authored
Any fields changed by asynchronous callbacks must be volatile.
-
Paul Sokolovsky authored
Polling once in 100ms means dismal performance. TODO: Propagate this pattern to other polling places.
-
- 28 Dec, 2015 1 commit
-
-
Dave Hylands authored
Otherwise build fails if uctypes is disabled.
-