Commit Graph

1671 Commits

Author SHA1 Message Date
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.
2014-04-15 01:30:25 +03:00
Paul Sokolovsky 75ffcaeace py: Implement __delitem__ method for classes. 2014-04-15 01:30:25 +03:00
Damien George bc9ec5002d Merge pull request #485 from lurch/patch-1
pip-micropython: revert $HOME back to ~
2014-04-14 22:30:20 +01:00
Andrew Scheller 6fc40cc3da pip-micropython: revert $HOME back to ~ 2014-04-14 22:26:34 +01:00
Damien George 5224705248 travis: Change to tests directory before running. 2014-04-14 22:04:15 +01:00
Damien George 3d867f5eab Merge pull request #479 from lurch/patch-1
Don't allow both ENDIANNESSes to be set
2014-04-14 21:41:05 +01:00
Damien George a7239b2fc2 Merge pull request #480 from lurch/patch-2
Make pip-micropython more portable
2014-04-14 21:39:31 +01:00
Damien George 98bd4f24ff Fix README build status image. 2014-04-14 21:33:31 +01:00
Damien George 1d8d2f84aa Merge branch 'master' of github.com:micropython/micropython 2014-04-14 21:31:11 +01:00
Damien George 15bbd251f6 Update README to include build status from Travis CI. 2014-04-14 21:30:53 +01:00
Damien George 2a2cfbd0cf Merge pull request #484 from aitjcize/travis
Add Travis CI support.
2014-04-14 21:27:25 +01:00
Damien George 3bb8bd899b Make USE_COMPUTED_GOTO a config option in mpconfig.h.
Disabled by default.  Enabled in unix port.
2014-04-14 21:20:30 +01:00
Damien George 0ae9c7042a Merge branch 'master' of github.com:micropython/micropython 2014-04-14 19:44:49 +01:00
Damien George 1da8a6cfc7 Merge pull request #482 from aitjcize/threaded
Use computed goto instead of switching op-codes.
2014-04-14 19:45:37 +01:00
AZ Huang b1f692e82e Use computed goto instead of switching op-codes. 2014-04-15 02:40:28 +08:00
Damien George 5904dad842 Merge pull request #483 from aitjcize/parallel
Fix parallel build.
2014-04-14 19:34:08 +01:00
Damien George ad8abd1a95 Merge branch 'master' of github.com:micropython/micropython 2014-04-14 19:33:23 +01:00
AZ Huang 60993c166d Add Travis CI support. 2014-04-15 02:25:43 +08:00
AZ Huang 658eae308f Fix parallel build. 2014-04-15 01:47:14 +08:00
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
2014-04-14 12:26:12 +01:00
Andrew Scheller cc83737d35 Don't allow both ENDIANNESSes to be set
See discussion on https://github.com/micropython/micropython/commit/2da81fa80c4cd965f05ad237d81d9764322fde20

Explicitly set `MP_ENDIANNESS_LITTLE` because that's the #define that is used in code elsewhere.
2014-04-14 02:39:56 +01:00
Damien George 48a9b3fd11 tools: Improve timout/reading of pyboard.py. 2014-04-14 01:47:36 +01:00
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.
2014-04-14 01:46:25 +01:00
Damien George 7e5be0b1b4 stmhal: Improved usart module a bit. 2014-04-14 01:45:58 +01:00
Damien George 6dba016a56 stmhal: Add pyb.wfi() function (calls __WFI). 2014-04-14 01:45:24 +01:00