aboutsummaryrefslogtreecommitdiff
path: root/py/objgenerator.c
AgeCommit message (Expand)Author
2014-03-26py: Replace mp_const_stop_iteration object with MP_OBJ_NULL.Damien George
2014-03-26py: Use _is_subclass_fast instead of _exception_match.Damien George
2014-03-26objgenerator: Implement return with value and .close() method.Paul Sokolovsky
2014-03-22objgenerator: Add comments for latest mp_obj_gen_instance_t refactors.Paul Sokolovsky
2014-03-22objgenerator: Implement .throw() method to throw exceptions into generator.Paul Sokolovsky
2014-03-22objgenerator: Implement throwing exceptions out of generator.Paul Sokolovsky
2014-03-22objgenerator: Keep exception stack within generator object, like value stack.Paul Sokolovsky
2014-03-17py: Clean up includes.xbe
2014-02-15py: VM never throws an exception, instead returns a status and value.Damien George
2014-02-15Implement proper exception type hierarchy.Damien George
2014-02-15Change mp_obj_type_t.name from const char * to qstr.Damien George
2014-02-12Remove mp_obj_new_exception_msg_1_arg and _2_arg.Damien George
2014-02-12Replace global "static" -> "STATIC", to allow "analysis builds". Part 1.Paul Sokolovsky
2014-01-29py: Simplify fastn in VM; reduce size of unique code struct.Damien George
2014-01-27gen.send(): Throw StopIteration. Also, explicitly shutdown finished gen.Paul Sokolovsky
2014-01-26Implement send() method for generators.Paul Sokolovsky
2014-01-21Revamp qstrs: they now include length and hash.Damien George
2014-01-18Add source file name and line number to error messages.Damien George
2014-01-18Make VM stack grow upwards, and so no reversed args arrays.Damien George
2014-01-15type->print(): Distinguish str() and repr() variety by passing extra param.Paul Sokolovsky
2014-01-07Merge branch 'cplusplus' of https://github.com/ian-v/micropython into ian-v-c...Damien George
2014-01-06Revert MP_BOOL, etc. and use <stdbool.h> insteadian-v
2014-01-06Co-exist with C++ (issue #85)ian-v
2014-01-05Convert many object types structs to use C99 tagged initializer syntax.Paul Sokolovsky
2014-01-04Convert Python types to proper Python type hierarchy.Damien George
2014-01-04Split qstr into pools, and put initial pool in ROM.Damien George
2014-01-02py: Fix generator where state array was incorrectly indexed.Damien George
2013-12-30py: make closures work.Damien George
2013-12-21py: simplify __next__ method for generators.Damien
2013-12-21Change object representation from 1 big union to individual structs.Damien