760 Commits (48bdb21332079307be080cc620a1084c778d083b)

Author SHA1 Message Date
Paul Sokolovsky 48bdb21332 showbc: Dump all CALL_FUNCTION_* and CALL_METHOD_* opcodes. 11 years ago
Damien George df6567e634 Merge map.h into obj.h. 11 years ago
Damien George d17926db71 Rename rt_* to mp_*. 11 years ago
Paul Sokolovsky 24a140a444 objexcept: Fix another place missing proper args tuple initialization. 11 years ago
Paul Sokolovsky ee5ecc9de2 objgenerator.throw: Instantiate if exception type passed, just as "raise". 11 years ago
Paul Sokolovsky 9a54a22318 objgenerator.throw(): Throwing GeneratorExit is equivalent to .close(). 11 years ago
Paul Sokolovsky 6ae237d2bd objgenerator: Store proper code_info pointer. 11 years ago
Paul Sokolovsky aaff716189 objgenerator: mp_obj_gen_resume() suitable only for generators. 11 years ago
Paul Sokolovsky 8d9cc2e669 compile: Print error messages on unimplemented relative imports. 11 years ago
Paul Sokolovsky 0ae518fb9e mp_obj_print_exception(): Assert that traceback has sane number of entries. 11 years ago
Damien George 89f94b51ab py: Rename mp_exc_stack to mp_exc_stack_t. 11 years ago
Damien George d7592a1c3f py: Fix reraise logic. 11 years ago
Paul Sokolovsky 0c904df8e6 vm: Save current active exception on opening new try block. 11 years ago
Paul Sokolovsky 69975df3ff vm: WITH_CLEANUP: use POP_EXC_BLOCK(). 11 years ago
Paul Sokolovsky a0ad77ba08 vm: Establish macros PUSH_EXC_BLOCK & POP_EXC_BLOCK to deal with exc stack. 11 years ago
Paul Sokolovsky d109676ec0 py: Reraising exception possible only in except block. 11 years ago
Damien George 0aa5d51cf1 py: Support mpz -op- float, mpz -op- complex, and complex -op- mpz. 11 years ago
Paul Sokolovsky 40d6d29af6 vm: Elaborate comments for WITH_CLEANUP, other cosmetic fixes. 11 years ago
Damien George c689c19471 py: Make MP_BC_SETUP_WITH use the bytecode stack for load_method. 11 years ago
Damien George b04be056fe py: Fix regress with GeneratorExit object becoming truly const. 11 years ago
Damien George 3e1a5c10c5 py: Rename old const type objects to mp_type_* for consistency. 11 years ago
Damien George 07ddab529c py: Change mp_const_* objects to macros. 11 years ago
Damien George 6e54fcfd12 py: Fix typo printing complex numbers that are purely imaginary. 11 years ago
Damien George d1e443d0bc py: Free unique_code slot for outer module. 11 years ago
Paul Sokolovsky 44307d5ef8 vm: Implement "with" statement (SETUP_WITH and WITH_CLEANUP bytecodes). 11 years ago
Paul Sokolovsky 682f9e639d vm: Make sure that exception triple is <type, instance, traceback>. 11 years ago
Paul Sokolovsky 4fff26a35c vm: Factor out exception block setup to a macro. 11 years ago
Damien George 440f041525 py: Fix bugs with debugging output. 11 years ago
Paul Sokolovsky 55234f4617 py: yield from: Elaborate GeneratorExit (gen.close()) handling. 11 years ago
Paul Sokolovsky cf21a4e7f4 py: Core "yield from" implementation. 11 years ago
Paul Sokolovsky c4d589e2bb objgenerator: close(): Throw instance of GeneratorExit (not type). 11 years ago
Paul Sokolovsky 182c31a208 showbc: Add few bytecodes related to "with". 11 years ago
Damien George c63f984647 py: Thin out predefined exceptions. 11 years ago
Damien George 01b877d16d py: Fix typo printing complex numbers. 11 years ago
Damien George ce8f07adcd py: Rename emit_pre so they have globally unique names. 11 years ago
Damien George 2326d52d20 py: Factor out code from runtime.c to emitglue.c. 11 years ago
Damien George 8767d0710e py: complex_print uses format_float if single precision fp used. 11 years ago
Damien George bee17b00e3 py: Put n_state for bytecode in the bytecode prelude. 11 years ago
Damien George 8dcc0c7924 py: Calculate maximum exception stack size in compiler. 11 years ago
Damien George 945a01c4e3 py: Fix bug in type_store_attr, trying to store to ROM. 11 years ago
Damien George bdcbf0fcd1 py: Restore CPython compatibility in compiler for closures with def args. 11 years ago
Damien George c3f1126ee8 py: Fix logic bugs in object attribute/method extraction. 11 years ago
Damien George 6022d9d478 py: Improved builtin dir. 11 years ago
Paul Sokolovsky e9137b94f2 py: Implement getattr() builtin. 11 years ago
Damien George 9b196cddab Remove mp_obj_type_t.methods entry and use .locals_dict instead. 11 years ago
Paul Sokolovsky 2447a5b582 py: Support closures with default args. 11 years ago
Damien George c12b2213c1 Change mp_method_t.name from const char * to qstr. 11 years ago
Damien George 69b3ba0df3 py: Swap around the double return value of mp_obj_gen_resume. 11 years ago
Damien George 66eaf84b8c py: Replace mp_const_stop_iteration object with MP_OBJ_NULL. 11 years ago
Damien George 548e76cfd6 py: Use _is_subclass_fast instead of _exception_match. 11 years ago