Paul Sokolovsky
|
0c59db1973
|
Use qstr id to create sys module.
|
2014-02-04 19:36:00 +02:00 |
Paul Sokolovsky
|
7cd54d79db
|
Add ImportError.
|
2014-02-04 03:33:55 +02:00 |
Paul Sokolovsky
|
1d938c9503
|
Expose __import__() function.
|
2014-02-04 00:47:06 +02:00 |
Damien George
|
ca4767984b
|
py: Implement builtin exec.
|
2014-02-03 22:44:10 +00:00 |
Damien George
|
4acb2452b3
|
py: Add very basic implementation of dir() builtin.
Only works on modules and class instances.
|
2014-02-02 22:07:44 +00:00 |
xbe
|
0ebf8534ab
|
Implement and add tests for the id() builtin function.
|
2014-02-01 19:00:41 -08:00 |
Damien George
|
09a0c64bce
|
py: Improve __bool__ and __len__ dispatch; add slots for them.
|
2014-01-30 10:05:33 +00:00 |
Damien George
|
b829b5caec
|
Implement mp_parse_node_free; print properly repr(string).
|
2014-01-25 13:51:19 +00:00 |
Damien George
|
7c9c667633
|
py: Implement iterator support for object that has __getitem__.
Addresses Issue #203.
|
2014-01-25 00:17:36 +00:00 |
Paul Sokolovsky
|
ab5d08280b
|
Allow qstr's with non-ident chars, construct good identifier for them.
Also, add qstr's for string appearing in unix REPL loop, gross effect
being less allocations for each command run.
|
2014-01-24 02:34:22 +02:00 |
Damien George
|
12eaccacda
|
Merge branch 'master' of github.com:micropython/micropython
Conflicts:
py/objstr.c
py/py.mk
py/stream.c
unix/main.c
unix/socket.c
|
2014-01-21 21:54:15 +00:00 |
Damien George
|
55baff4c9b
|
Revamp qstrs: they now include length and hash.
Can now have null bytes in strings. Can define ROM qstrs per port using
qstrdefsport.h
|
2014-01-21 21:40:13 +00:00 |