- Apr 03, 2014
-
-
mux authored
-
- Apr 02, 2014
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
Very little has changed. In Python 3.4 they removed the opcode STORE_LOCALS, but in Micro Python we only ever used this for CPython compatibility, so it was a trivial thing to remove. It also allowed to clean up some dead code (eg the 0xdeadbeef in class construction), and now class builders use 1 less stack word. Python 3.4.0 introduced the LOAD_CLASSDEREF opcode, which I have not yet understood. Still, all tests (apart from bytecode test) still pass. Bytecode tests needs some more attention, but they are not that important anymore.
-
Damien George authored
I upgraded to Python 3.4.0, so needed to make these changes. Hopefully the tests still run with Python 3.3.x (the scripts use python3 so are agnostic as to the subversion). Bytecode tests are tightly coupled to the Python version, and now some fail against Python 3.4.
-
Damien George authored
-
Damien George authored
As per issue #257, servo is better on TIM5 because TIM2 is connected to more GPIO.
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Paul Sokolovsky authored
-
Damien George authored
-
- Apr 01, 2014
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
Pfenv strn stack
-
Damien George authored
Fix pyb.Led(n) code to work properly.
-
Damien George authored
Fix INT_BUF_SIZE to work with 32-bit and 64-bit
-
Paul Sokolovsky authored
Turn off full tests in string-format.py
-
Dave Hylands authored
-
Dave Hylands authored
-
Dave Hylands authored
-
Dave Hylands authored
Add some basic coverage tests
-
Paul Sokolovsky authored
-
Damien George authored
-
Damien George authored
Enhance str.format support
-
Dave Hylands authored
This adds support for almost everything (the comma isn't currently supported). The "unspecified" type with floats also doesn't behave exactly like python. Tested under unix with float and double Spot tested on stmhal
-
- Mar 31, 2014
-
-
Damien George authored
It's not completely satisfactory, because a failed call to __getattr__ should not raise an exception. __setattr__ could be implemented, but it would slow down all stores to a user created object. Need to implement some caching system.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Because it's superfluos in the presence of type(), a remenant from Python's "old classes".
-
Paul Sokolovsky authored
Because it's runtime reflection feature, not required for many apps. Rant time: Python could really use better str() vs repr() distinction, for example, repr(type) could be "<class 'foo'>" (as it is now), and str(type) just "foo". But alas, getting straight name requires adhoc attribute.
-
Damien George authored
-
Damien George authored
Update README.md
-
Damien George authored
-
Damien George authored
Don't store final, failing value to the loop variable. This fix also makes for .. range a bit more efficient, as it uses less store/load pairs for the loop variable.
-
Paul Sokolovsky authored
-
Damien George authored
-