3219 Commits (8fb95d652066b38e0dbb4fa5433de49eb601bdfe)

Author SHA1 Message Date
Damien George 36c1052183 py/objtype: Optimise instance get/set/del by skipping special accessors. 7 years ago
Damien George bace1a16d0 py/objtype: Don't expose mp_obj_instance_attr(). 7 years ago
Damien George db5d8c97f1 py/obj.h: Introduce a "flags" entry in mp_obj_type_t. 7 years ago
Damien George a8b9e71ac1 py/mpconfig.h: Add default MICROPY_VFS_FAT config value. 7 years ago
Damien George a93144cb65 py/reader: Allow MICROPY_VFS_POSIX to work with MICROPY_READER_POSIX. 7 years ago
Damien George 8d82b0edbd extmod: Add VfsPosix filesystem component. 7 years ago
Damien George 1427f8f593 py/stream: Move definition of mp_stream_p_t from obj.h to stream.h. 7 years ago
Jeff Epler c60589c02b py/objtype: Fix assertion failures in super_attr by checking type. 7 years ago
Jeff Epler 05b13fd292 py/objtype: Fix assertion failures in mp_obj_new_type by checking types. 7 years ago
Damien George dfeaea1441 py/objtype: Remove TODO comment about needing to check for property. 7 years ago
Damien George 18e6358480 py/emit: Combine setup with/except/finally into one emit function. 7 years ago
Damien George 436e0d4c54 py/emit: Merge build set/slice into existing build emit function. 7 years ago
Damien George d97906ca9a py/emit: Combine import from/name/star into one emit function. 7 years ago
Damien George 8a513da5a5 py/emit: Combine break_loop and continue_loop into one emit function. 7 years ago
Damien George 6211d979ee py/emit: Combine load/store/delete attr into one emit function. 7 years ago
Damien George a4941a8ba4 py/emit: Combine load/store/delete subscr into one emit function. 7 years ago
Damien George d298013939 py/emit: Combine name and global into one func for load/store/delete. 7 years ago
Damien George 26b5754092 py/emit: Combine build tuple/list/map emit funcs into one. 7 years ago
Damien George e686c94052 py/emit: Combine yield value and yield-from emit funcs into one. 7 years ago
Damien George 0a25fff956 py/emit: Combine fast and deref into one function for load/store/delete. 7 years ago
Damien George 400273a799 py/objgenerator: Protect against reentering a generator. 7 years ago
Damien George 771cb359af py/objgenerator: Save state in old_globals instead of local variable. 7 years ago
Jan Klusacek b318ebf101 py/modbuiltins: Add support for rounding integers. 7 years ago
Damien George f2ec792554 py/parsenum: Adjust braces so they are balanced. 7 years ago
Damien George 6bd78741c1 py/gc: When GC threshold is hit don't unnecessarily collect twice. 7 years ago
Jeff Epler 95e43efc99 py/objfloat: Fix undefined integer behavior hashing negative zero. 7 years ago
Jeff Epler c4dafcef4f py/mpz: Avoid undefined behavior at integer overflow in mpz_hash. 7 years ago
Jeff Epler 60eb5305f6 py/objfloat: Fix undefined shifting behavior in high-quality float hash. 7 years ago
Jeff Epler 4f71a2a75a py/parsenum: Avoid undefined behavior parsing floats with large exponents. 7 years ago
Damien George 5efc575067 py/parsenum: Use int instead of mp_int_t for parsing float exponent. 7 years ago
Jeff Epler bc6c0b28bf py/emitbc: Avoid undefined behavior calling memset() with NULL 1st arg. 7 years ago
Damien George 828ce16dc8 py/compile: Change comment about ITER_BUF_NSLOTS to a static assertion. 7 years ago
Damien George 43d08d6dd6 py/misc.h: Add MP_STATIC_ASSERT macro to do static assertions. 7 years ago
Li Weiwei 3e6ab82179 py/repl: Fix handling of unmatched brackets and unfinished quotes. 7 years ago
Damien George 869024dd6e py/vm: Improve performance of opcode dispatch when using switch stmt. 7 years ago
Damien George 46ce395130 py/vm: Use enum names instead of magic numbers in multi-opcode dispatch. 7 years ago
Tom Collins a883fe12d9 py/objfun: Fix variable name in DECODE_CODESTATE_SIZE() macro. 7 years ago
Damien George 1b7487e519 py/vm: Adjust #if logic for gil_divisor so braces are balanced. 7 years ago
Damien George c97607db5c py/nlrx86: Use naked attribute on nlr_push for gcc 8.0 and higher. 7 years ago
Damien George 749b16174b py/mpstate.h: Adjust start of root pointer section to exclude non-ptrs. 7 years ago
Damien George 9630376dbc py/mpconfig.h: Be stricter when autodetecting machine endianness. 7 years ago
Damien George 6046e68fe1 py/repl: Initialise q_last variable to prevent compiler warnings. 7 years ago
Damien George 095d397017 py/objdeque: Fix sign extension bug when computing len of deque object. 7 years ago
Damien George 3678a6bdc6 py/modbuiltins: Make built-in dir support the __dir__ special method. 7 years ago
Damien George 29d28c2574 py/modbuiltins: In built-in dir make use of mp_load_method_protected. 7 years ago
Damien George 7241d90272 py/repl: Use mp_load_method_protected to prevent leaking of exceptions. 7 years ago
Damien George 529860643b py/modbuiltins: Make built-in hasattr work properly for user types. 7 years ago
Damien George bc87b862fd py/runtime: Add mp_load_method_protected helper which catches exceptions 7 years ago
Damien George eb88803ac8 py/{modbuiltins,repl}: Start qstr probing from after empty qstr. 7 years ago
Damien George 3cf02be4e0 py/emitnx86: Fix 32-bit x86 native emitter build by including header. 7 years ago