summaryrefslogtreecommitdiffstatshomepage
path: root/py/objgenerator.h
Commit message (Collapse)AuthorAge
* py: Move to guarded includes, everywhere in py/ core.Damien George2015-01-01
| | | | Addresses issue #1022.
* Add license header to (almost) all files.Damien George2014-05-03
| | | | | | | Blanket wide to all .c and .h files. Some files originating from ST are difficult to deal with (license wise) so it was left out of those. Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
* py: Swap around the double return value of mp_obj_gen_resume.Damien George2014-03-26
| | | | Just to keep things consistent :)
* objgenerator: Implement return with value and .close() method.Paul Sokolovsky2014-03-26
Return with value gets converted to StopIteration(value). Implementation keeps optimizing against creating of possibly unneeded exception objects, so there're considerable refactoring to implement these features.