Andrew Scheller
9b5a9d41dc
Update .travis.yml
Add diffing of failure logs
11 years ago
Andrew Scheller
e31a8222f2
Update .travis.yml
Doh, the shebang line for run-tests itself relies on `python3`
11 years ago
Andrew Scheller
0388b2ea78
Update .travis.yml
This *might* fix it enough for all tests to run (maybe?)
11 years ago
Paul Sokolovsky
cc8c0882a0
pip-micropython: Fix inverted condition.
11 years ago
Damien George
e10da77a5c
Merge branch 'master' of github.com:micropython/micropython
11 years ago
Damien George
8341725b65
travis: Only run some tests, to work around CPython version issues.
Needs a proper fix, to install/configure CPython 3.3.x (or 3.4.0) on
Travis CI.
11 years ago
Damien George
3683789207
py: Clean up and add comments to makeqstrdata.
11 years ago
Paul Sokolovsky
a5854d2bc5
builtinimport: Add basic support for namespace packages.
That was easy - just avoid erroring out on seeing candidate dir for namespace
package. That's far from being complete though - namespace packages should
support importing portions of package from different sys.path entries, here
we require first matching entry to contain all namespace package's portions.
And yet, that's a way to put parts of the same Python package into multiple
installable package - something we really need for *Micro*Python.
11 years ago
Paul Sokolovsky
75ffcaeace
py: Implement __delitem__ method for classes.
11 years ago
Damien George
bc9ec5002d
Merge pull request #485 from lurch/patch-1
pip-micropython: revert $HOME back to ~
11 years ago
Andrew Scheller
6fc40cc3da
pip-micropython: revert $HOME back to ~
11 years ago
Damien George
5224705248
travis: Change to tests directory before running.
11 years ago
Damien George
3d867f5eab
Merge pull request #479 from lurch/patch-1
Don't allow both ENDIANNESSes to be set
11 years ago
Damien George
a7239b2fc2
Merge pull request #480 from lurch/patch-2
Make pip-micropython more portable
11 years ago
Damien George
98bd4f24ff
Fix README build status image.
11 years ago
Damien George
1d8d2f84aa
Merge branch 'master' of github.com:micropython/micropython
11 years ago
Damien George
15bbd251f6
Update README to include build status from Travis CI.
11 years ago
Damien George
2a2cfbd0cf
Merge pull request #484 from aitjcize/travis
Add Travis CI support.
11 years ago
Damien George
3bb8bd899b
Make USE_COMPUTED_GOTO a config option in mpconfig.h.
Disabled by default. Enabled in unix port.
11 years ago
Damien George
0ae9c7042a
Merge branch 'master' of github.com:micropython/micropython
11 years ago
Damien George
1da8a6cfc7
Merge pull request #482 from aitjcize/threaded
Use computed goto instead of switching op-codes.
11 years ago
AZ Huang
b1f692e82e
Use computed goto instead of switching op-codes.
11 years ago
Damien George
5904dad842
Merge pull request #483 from aitjcize/parallel
Fix parallel build.
11 years ago
Damien George
ad8abd1a95
Merge branch 'master' of github.com:micropython/micropython
11 years ago
AZ Huang
60993c166d
Add Travis CI support.
11 years ago
AZ Huang
658eae308f
Fix parallel build.
11 years ago
Andrew Scheller
0aac7ba344
Make pip-micropython more portable
Replace /tmp with a $TMPDIR variable
Replace multiple occurrences of /tmp/pip-micropy-venv with a $TMPVENV variable
Replace ~ with $HOME
11 years ago
Andrew Scheller
cc83737d35
Don't allow both ENDIANNESSes to be set
See discussion on 2da81fa80c
Explicitly set `MP_ENDIANNESS_LITTLE` because that's the #define that is used in code elsewhere.
11 years ago
Damien George
48a9b3fd11
tools: Improve timout/reading of pyboard.py.
11 years ago
Damien George
cce7119a2b
stmhal: Work around crazy bug in USB CDC.
Packets of 64 bytes length are not send to the host until the following
packet is sent. Fixed by never sending packets of 64 bytes length.
11 years ago
Damien George
7e5be0b1b4
stmhal: Improved usart module a bit.
11 years ago
Damien George
6dba016a56
stmhal: Add pyb.wfi() function (calls __WFI).
11 years ago
Paul Sokolovsky
bbae42d62f
modsys: Implement sys.version.
The logic appears to be that (at least beginning of) sys.versions is the
version of reference Python language implemented, not version of particular
implementation.
Also, bump set versions at 3.4.0, based on @dpgeorge preference.
11 years ago
Paul Sokolovsky
58676fc2c7
objstr: Allow to define statically allocated str objects.
Similar to tuples, lists, dicts. Statically allocated strings don't have hash
computed.
11 years ago
Paul Sokolovsky
59e269cfec
qstr, objstr: Make sure that valid hash != 0, treat 0 as "not computed".
This feature was proposed with initial hashing RFC, and is prerequisite for
seamless static str object definition.
11 years ago
Paul Sokolovsky
14de114ba8
objdict: Add __delitem__.
11 years ago
Paul Sokolovsky
cd94b384a3
objdict: Add __setitem__.
11 years ago
Damien George
86a03044e3
stmhal: Add stdin/stdout/stderr objects.
Available via sys.std{in,out,err}. Basic reading and writing supported.
Even sys.stdin.readline!
11 years ago
Damien George
e2a48b66c2
tests: Add property test.
11 years ago
Damien George
777b0f32f4
py: Add property object, with basic functionality.
Enabled by MICROPY_ENABLE_PROPERTY.
11 years ago
Damien George
4417478d0f
tests: Make tests pass on pyboard.
11 years ago
Damien George
9dcc60d0b1
py: Detect ZeroDivisionError properly for floats.
11 years ago
Damien George
212f89e61a
stmhal: Improve USB CDC write function (increase timeout).
11 years ago
Damien George
0e4ba25834
py: Fix SyntaxError exception: don't have a block name, so pass NULL.
11 years ago
Damien George
73496fbbe4
py: Fix up source-line calculation.
Should address issue #475 .
11 years ago
Damien George
b636d024d2
Make pyboard.py have its own exception; update run-tests for pyboard.
11 years ago
Damien George
d240ff83c7
Merge branch 'master' of github.com:micropython/micropython
11 years ago
Damien George
b502156e22
py: Adjust #includes in lexerunix.c.
11 years ago
Paul Sokolovsky
978d2c0267
modsys: Implement sys.byteorder.
11 years ago
Paul Sokolovsky
baaaf65eaa
modsys: Implement basic sys.version_info.
11 years ago