Damien George
|
175cecfa87
|
py: Make form-feed character a space (following C isspace).
Eg, in CPython stdlib, email/header.py has a form-feed character.
|
2014-04-10 11:39:36 +01:00 |
|
Damien George
|
a91f41407b
|
py, lexer: Fix parsing of raw strings (allow escaping of quote).
|
2014-04-10 11:30:55 +01:00 |
|
Damien George
|
f22626ee4f
|
unix: Add option to only compile, and not execute code.
|
2014-04-10 11:30:35 +01:00 |
|
Damien George
|
87bb093eb6
|
Merge branch 'master' of github.com:micropython/micropython
|
2014-04-09 23:31:30 +01:00 |
|
Damien George
|
7a5f9e94ad
|
stmhal: Make /src/main.py just /main.py; allow SD to be used as root device.
|
2014-04-09 23:30:34 +01:00 |
|
Damien George
|
1d2ba5ddf9
|
Merge pull request #455 from lurch/exception-messages
Remove exception name from inside the exception message
|
2014-04-09 20:49:35 +01:00 |
|
Damien George
|
038fd52faa
|
Merge branch 'str-index' of github.com:xbe/micropython into xbe-str-index
|
2014-04-09 20:44:37 +01:00 |
|
Damien George
|
5589db88c7
|
py: Implement complex division.
|
2014-04-09 20:21:00 +01:00 |
|
Damien George
|
e2835c16f4
|
py: Oops, fix emitcpy to compile with latest changes.
|
2014-04-09 20:20:34 +01:00 |
|
Andrew Scheller
|
f78cfaf8b5
|
Remove exception name from inside the exception message
This prevents micropython printing exception messages like
ImportError: ImportError: No module named 'foo'
|
2014-04-09 19:56:38 +01:00 |
|
Damien George
|
b5fbd0ba87
|
py: Add mp_obj_is_integer; make mp_get_index check for long int.
mp_obj_is_integer should be used to check if an object is of integral
type. It returns true for bool, small int and long int.
|
2014-04-09 19:55:33 +01:00 |
|
Damien George
|
d99944acdd
|
py: Clear state to MP_OBJ_NULL before executing byte code.
|
2014-04-09 19:53:31 +01:00 |
|
Damien George
|
a157e4caba
|
py: str.join can now take arbitrary iterable as argument.
|
2014-04-09 19:17:53 +01:00 |
|
Damien George
|
13d6739cc7
|
py: Generators can have their locals closed over.
|
2014-04-09 19:01:45 +01:00 |
|
Damien George
|
2bf7c09222
|
py: Properly implement deletion of locals and derefs, and detect errors.
Needed to reinstate 2 delete opcodes, to specifically check that a local
is not deleted twice.
|
2014-04-09 15:26:46 +01:00 |
|
Damien George
|
11d8cd54c9
|
py, compiler: Turn id_info_t.param into a set of flags.
So we can add more flags.
|
2014-04-09 14:42:51 +01:00 |
|
Damien George
|
b140bff877
|
py, compile: Simplify initialisation of compiler structure.
|
2014-04-09 12:54:21 +01:00 |
|
Damien George
|
02a4c05c5f
|
py, compile: Reduce size of compiler structure.
|
2014-04-09 12:50:58 +01:00 |
|
Damien George
|
922ddd6415
|
py, compile: Combine have_star_arg, have_dbl_star_arg into star_flags.
Small reduction in ROM, heap and stack usage.
|
2014-04-09 12:43:17 +01:00 |
|
Damien George
|
78035b995f
|
py, compiler: Clean up and compress scope/compile structures.
Convert int types to uint where sensible, and then to uint8_t or
uint16_t where possible to reduce RAM usage.
|
2014-04-09 12:27:39 +01:00 |
|
Damien George
|
fc18c8e834
|
Merge branch 'master' of github.com:micropython/micropython
|
2014-04-09 02:32:00 +01:00 |
|
Damien George
|
a5c18f3285
|
stmhal: Update windows driver; \r\n newlines and addition USB id.
|
2014-04-09 02:23:24 +01:00 |
|
Paul Sokolovsky
|
03b9ad7b01
|
gc.c: Remove superfluous typedef (bute defined in misc.h).
|
2014-04-09 04:13:21 +03:00 |
|
Damien George
|
b99ca2cdde
|
stmhal: Add windows cdc .inf driver to flash filesystem.
|
2014-04-09 01:16:49 +01:00 |
|
Damien George
|
8e6f98b166
|
stmhal: Improve help() function.
|
2014-04-09 01:16:29 +01:00 |
|