summaryrefslogtreecommitdiff
path: root/py/qstrdefs.h
AgeCommit message (Collapse)Author
2014-02-09Add NotImplementedError.Paul Sokolovsky
2014-02-08py: Add some qstrs to the global table.Damien George
2014-02-06Add staticmethod and classmethod to builtin namespace.Damien George
2014-02-05Merge pull request #262 from pfalcon/sys-pathDamien George
Implement sys.path support
2014-02-05py: Add built-in super.Damien George
2014-02-05Implement support for sys.path when loading modules.Paul Sokolovsky
sys.path is not initialized by rt_init(), that's left for platform-specific startup code. (For example, bare metal port may have some hardcoded defaults, and let user change sys.path directly; while port for OS with environment feature can take path from environment). If it's not explicitly initialized, modules will be imported only from a current directory.
2014-02-04Use qstr id to create sys module.Paul Sokolovsky
2014-02-04Add ImportError.Paul Sokolovsky
2014-02-04Expose __import__() function.Paul Sokolovsky
2014-02-03py: Implement builtin exec.Damien George
2014-02-02py: Add very basic implementation of dir() builtin.Damien George
Only works on modules and class instances.
2014-02-01Implement and add tests for the id() builtin function.xbe
2014-01-30py: Improve __bool__ and __len__ dispatch; add slots for them.Damien George
2014-01-25Implement mp_parse_node_free; print properly repr(string).Damien George
2014-01-25py: Implement iterator support for object that has __getitem__.Damien George
Addresses Issue #203.
2014-01-24Allow qstr's with non-ident chars, construct good identifier for them.Paul Sokolovsky
Also, add qstr's for string appearing in unix REPL loop, gross effect being less allocations for each command run.
2014-01-21Merge branch 'master' of github.com:micropython/micropythonDamien George
Conflicts: py/objstr.c py/py.mk py/stream.c unix/main.c unix/socket.c
2014-01-21Revamp qstrs: they now include length and hash.Damien George
Can now have null bytes in strings. Can define ROM qstrs per port using qstrdefsport.h