summaryrefslogtreecommitdiff
path: root/py/objgenerator.c
AgeCommit message (Expand)Author
2015-05-11objgenerator: Can optimize StopIteration to STOP_ITERATION only if arg is None.Paul Sokolovsky
2015-05-11objgenerator: If generator yielded STOP_ITERATION value, it's stopped.Paul Sokolovsky
2015-04-16py: Add %q format support to mp_[v]printf, and use it.Damien George
2015-04-16py: Overhaul and simplify printf/pfenv mechanism.Damien George
2015-04-07py: Implement full func arg passing for native emitter.Damien George
2015-03-20py: Allow retrieving a function's __name__.stijn
2015-01-20py, unix: Allow to compile with -Wunused-parameter.Damien George
2015-01-14py: Add "default" to switches to allow better code flow analysis.Damien George
2015-01-01py: Move to guarded includes, everywhere in py/ core.Damien George
2014-12-10py: Make functions static where appropriate.Damien George
2014-10-25py: Store bytecode arg names in bytecode (were in own array).Damien George
2014-09-04py: Use variable length encoded uints in more places in bytecode.Damien George
2014-08-30Change some parts of the core API to use mp_uint_t instead of uint/int.Damien George
2014-07-03Rename machine_(u)int_t to mp_(u)int_t.Damien George
2014-06-11objgenerator: Finish refactor to use mp_setup_code_state().Paul Sokolovsky
2014-06-11objgenerator: First iteration of refactor to use mp_setup_code_state().Paul Sokolovsky
2014-06-07py: Merge mp_execute_bytecode into fun_bc_call.Damien George
2014-05-31vm: Factor out structure with code execution state and pass it around.Paul Sokolovsky
2014-05-31py: Reformat few long functions argument lists for clarity.Paul Sokolovsky
2014-05-17py: More mp_identity usage.Paul Sokolovsky
2014-05-13py, unix: Add copyright for modules I worked closely on.Paul Sokolovsky
2014-05-10py: Rename byte_code to bytecode everywhere.Damien George
2014-05-05py: Comment exc_state member from mp_obj_gen_instance_t as it gives troublestijn
2014-05-03Add license header to (almost) all files.Damien George
2014-05-02py, unix: Make "mpconfig.h" be first included, as other headers depend on it.Paul Sokolovsky
2014-05-01objgenerator: .print(): Output real underlying function name.Paul Sokolovsky
2014-04-17py: Add MP_OBJ_STOP_ITERATION and make good use of it.Damien George
2014-04-17py: Simplify objfun/objgenerator connection, no need to call bc_get.Damien George
2014-04-17objgenerator: Generator must execute in its defining lexical context.Paul Sokolovsky
2014-04-09py: Clear state to MP_OBJ_NULL before executing byte code.Damien George
2014-04-09py: Generators can have their locals closed over.Damien George
2014-04-05py: Change nlr_jump to nlr_raise, to aid in debugging.Damien George
2014-03-31objgenerator.throw(GeneratorExit) is not equivalent to .close().Paul Sokolovsky
2014-03-31objgenerator: Another obscure case of propagating MP_OBJ_NULL optimization.Paul Sokolovsky
2014-03-30py: Don't wrap necessary function calls in assert.Damien George
2014-03-30Merge pull request #399 from pfalcon/gen-defargsDamien George
2014-03-30py: Implement support for generalized generator protocol.Paul Sokolovsky
2014-03-30objgenerator: Handle default args to generator functions.Paul Sokolovsky
2014-03-30Merge map.h into obj.h.Damien George
2014-03-30Rename rt_* to mp_*.Damien George
2014-03-30objgenerator.throw: Instantiate if exception type passed, just as "raise".Paul Sokolovsky
2014-03-30objgenerator.throw(): Throwing GeneratorExit is equivalent to .close().Paul Sokolovsky
2014-03-30objgenerator: Store proper code_info pointer.Paul Sokolovsky
2014-03-30objgenerator: mp_obj_gen_resume() suitable only for generators.Paul Sokolovsky
2014-03-30py: Rename mp_exc_stack to mp_exc_stack_t.Damien George
2014-03-29py: Rename old const type objects to mp_type_* for consistency.Damien George
2014-03-29py: Change mp_const_* objects to macros.Damien George
2014-03-28objgenerator: close(): Throw instance of GeneratorExit (not type).Paul Sokolovsky
2014-03-27py: Put n_state for bytecode in the bytecode prelude.Damien George
2014-03-27py: Calculate maximum exception stack size in compiler.Damien George