3388 Commits (90e1303b2df1bc1967ae5403a0456512f10b3782)

Author SHA1 Message Date
Damien George a9237cee82 py/runtime: Remove comment in mp_import_name about level being 0. 6 years ago
Damien George 4ab397576f py/runtime: Use mp_import_name to implement tail of mp_import_from. 6 years ago
Damien George cc2bd63c57 py/emitnative: Implement yield and yield-from in native emitter. 6 years ago
Damien George 8fec6f5434 py/emitnative: Reorder native state on C stack so nlr_buf_t is first. 6 years ago
Damien George 4fc437f1ef py/asmxtensa: Use proper calculation for const table offset. 6 years ago
Damien George 5b19916d6e py/asmx64: Extend asm_x64_mov_reg_pcrel to accept high registers. 6 years ago
Damien George 1dc720dc01 py/asmx86: Comment out unused asm_x86_nop to prevent compiler warnings. 6 years ago
Damien George 87231132d4 py/asmthumb: Extend asm entry/exit to handle stack larger than 508 bytes 6 years ago
Damien George ef9394e76a py/asmthumb: Clean up asm_thumb_bl_ind to use new optimised ldr helper. 6 years ago
Damien George 07ccb192c5 py/asmthumb: Add wide ldr to handle larger offsets. 6 years ago
Damien George d95947b48a py/vm: When VM raises exception put exc obj at beginning of func state. 6 years ago
Damien George dd288904db py/objtype: Support full object model for get/set/delitem special meths. 6 years ago
Damien George 2eb0170157 py/objtype: Remove TODO about storing attributes to classes. 6 years ago
Damien George 2c7a3061d5 py/runtime: Remove nlr protection when calling __next__ in mp_resume. 6 years ago
Damien George 0c9d452370 py/vm: Fix case of throwing GeneratorExit type into yield-from. 6 years ago
Damien George e9012a20f7 py/emitnative: Change type of const_table from uintptr_t to mp_uint_t. 6 years ago
Damien George 2e86233263 py/asm*: Remove ASM_MOV_REG_ALIGNED_IMM emit macro, it's no longer used. 6 years ago
Damien George 7d4b6cc868 py/emitnative: Place const objs for native code in separate const table. 6 years ago
Damien George b3eadf3f3d py/objfloat: Fix abs(-0.0) so it returns 0.0. 6 years ago
Damien George fc1bb51af5 py/objgenerator: Remove TODO about returning gen being called again. 6 years ago
Damien George 6d20be31ae py/vm: Reword TODO about invalid ip/sp after an exception to a note. 6 years ago
Damien George 04f7da78db py/objmodule: Remove TODO about checking store attr to a module. 6 years ago
Damien George cc5c3c64ca py/objint: Remove TODO about checking of int() arg types with 2 args. 6 years ago
Damien George 814f17a3a4 py/objdict: Reword TODO about inlining mp_obj_dict_get to a note. 6 years ago
Damien George baa83a0c6d py/objslice: Remove long-obsolete comment about enhancing slice object. 6 years ago
Damien George 76355c8863 py/vm: Make small optimisation of BUILD_SLICE opcode. 6 years ago
stijn 57a7d5be9a py: Fix msvc C++ compiler warnings with MP_OBJ_FUN_MAKE_SIG macro. 6 years ago
Paul Sokolovsky a135bca4a1 py/objstr: format: Return bytes result for bytes format string. 6 years ago
Christopher Swenson 8c656754aa py/modmath: Add math.factorial, optimised and non-opt implementations. 6 years ago
Romain Goyet b768cc6ca8 py/parsenum: Avoid rounding errors with negative powers-of-10. 6 years ago
Damien George 3f6ffe059f py/objgenerator: Implement PEP479, StopIteration convs to RuntimeError. 6 years ago
Paul Sokolovsky 93f29975db py/modbuiltins: Make oct/hex work when !MICROPY_PY_BUILTINS_STR_OP_MODULO 6 years ago
Paul Sokolovsky 2da5d41350 py/objstr: Make % (__mod__) formatting operator configurable. 6 years ago
Damien George b01f66c5f1 py: Shorten error messages by using contractions and some rewording. 6 years ago
Damien George 0a36a80f96 py/objtype: Clarify comment about configuring inplace op methods. 6 years ago
Damien George 7e3dd9f8a3 py/asmthumb: Detect presence of I-cache using CMSIS macro. 6 years ago
Damien George 30a45360e7 py/asmxtensa: Make indirect calls using func table, not raw pointers. 6 years ago
Damien George 93d71c5436 py/emitnative: Make viper funcs run with their correct globals context. 6 years ago
Damien George f12e039c2b py/emitnative: Use macros instead of raw offsetof for slot locations. 6 years ago
Damien George a676b5acf6 py/emitnative: Support arbitrary number of arguments to viper functions. 6 years ago
Damien George 43f1848bfa py: Make viper functions have the same entry signature as native. 6 years ago
Damien George 460954734e py/emitnative: Reuse mp_native_type_from_qstr when searching for a cast. 6 years ago
Damien George 9f2067288a py/compile: Factor code that compiles viper type annotations. 6 years ago
Damien George a169a5848c py/compile: Merge viper annotation and normal param compilation stages. 6 years ago
Damien George 80db30a510 py/emit: Completely remove set_native_type, arg type is set in compiler. 6 years ago
Damien George 07caf4f969 py/emit: Remove need to call set_native_type to set viper return type. 6 years ago
Damien George 1d7c221b30 py/emit: Remove need to call set_native_type to set native/viper mode. 6 years ago
Damien George 3751512e9d py/emit: Move MP_EMIT_OPT_xxx enums from compile.h to emitglue.h. 6 years ago
Damien George abb536da49 py/{asmx86,asmx64}: Extend test_r8_with_r8 to accept all 8 lower regs. 6 years ago
Damien George dd522d63b6 py/asmx64: Fix bug in assembler when creating disp with r13 and 0 offset 6 years ago