897 Commits (4671392d90e98ea4edf6e9ce7023d21cc9957d8c)

Author SHA1 Message Date
Damien George 1d24ea5207 py: Finish implementation of all del opcodes. 11 years ago
Paul Sokolovsky 4dcb605ac4 py: Make bytearray a proper type. 11 years ago
Damien George 47e1b85d9c py: Improve inline assembler; add a few more opcodes. 11 years ago
Damien George 495d781a36 py: implement UNPACK_EX byte code (for: a, *b, c = d) 11 years ago
Paul Sokolovsky 7a70a3ae9a bytes: Support buffer protocol. 11 years ago
Paul Sokolovsky b9cf3d3730 bytearray: Support bytearray(int) constructor. 11 years ago
Damien George e753d916c0 py: Raise exception for unimplemented byte codes. 11 years ago
Damien George b7ffdcc1c7 py: Improve compiler syntax errors; catch more errors. 11 years ago
Damien George 26cf55ae05 Add a check for NULL nlr_top in nlr_jump. 11 years ago
Damien George 73c79b9925 py: Continue line if last character is backslash. 11 years ago
Damien George 443e018a3f py: Improve GC locking/unlocking, and make it part of the API. 11 years ago
Damien George 97790455fe Improve REPL detecting when input needs to continue. 11 years ago
Andrew Scheller 12968fb6b2 Display \r and \t escape codes in string repr 11 years ago
Damien George a12a0f78b0 py: Rename pfenv_print_int to pfenv_print_mp_int, and add back former. 11 years ago
Dave Hylands 23dc6d0ace Fix truncation problem when using longlong implementation. 11 years ago
Dave Hylands c4029e5079 Add string formatting support for longlong and mpz. 11 years ago
Damien George a28507ab2b py: Detect unmatched tripple quote in repl helper. 11 years ago
Andrew Scheller 902d9552c5 Replace some Makefile commands with variables in py/mkenv.mk 11 years ago
Damien George 2bfd2dc770 py: Revert revert for allocation policy of set hash table. 11 years ago
Paul Sokolovsky 46bd12d57e objset: Fix incorrect workaround against mp_set_init() munging alloc size. 11 years ago
Damien George c75427baaa py: Revert change to allocation policy for mp_set_t. 11 years ago
Damien George ff715429ea py: Fix str.replace for case when arg 0 or 1 is empty string. 11 years ago
Paul Sokolovsky 7cf057aeeb objdict: Implement equality operator. 11 years ago
Paul Sokolovsky 5fedd0c3b7 py: Fix dict.copy() and low-level map/set allocation. 11 years ago
Paul Sokolovsky ea85a121f2 objdict: Support creating dict from another dict. 11 years ago
Damien George cdd96dff2c py: Implement more features in native emitter. 11 years ago
Damien George 65cad12d38 py: Add option to compiler to specify default code emitter. 11 years ago
Damien George deed087e2c py: str.split: handle non-default separator. 11 years ago
Paul Sokolovsky 36dd19ae27 py: Revert mp_load_attr() to its previous state (not supporting default val). 11 years ago
Damien George d0e824387e py: Make mp_map_lookup not allocate memory on removal. 11 years ago
Paul Sokolovsky 080d99b7a8 py: Optimize locals()/globals() implementation. 11 years ago
Damien George 27e735fd18 py: Replace stream_p with *stream_p in mp_obj_type_t. 11 years ago
Paul Sokolovsky cc0af3d727 py: Implement globals() and locals() builtins. 11 years ago
Damien George 17520224fa py: Make all objects and instances derive from object. 11 years ago
Damien George 7efc5b3f34 py: Make globals and locals proper dictionary objects. 11 years ago
Damien George 8b0535e23f py: Change module globals from mp_map_t* to mp_obj_dict_t*. 11 years ago
Damien George 60be1cf3b9 py: Fix float printing on stmhal. 11 years ago
Damien George 12bab72d93 Improve GC finalisation code; add option to disable it. 11 years ago
Damien George ea13f407a3 py: Change nlr_jump to nlr_raise, to aid in debugging. 11 years ago
Dave Hylands 64ef5d7f4e Change pfenv_print_int to take machine_uint_t rather than unsinged in 11 years ago
Damien George 95004e5114 py: Fix delete operation on map/dict and set objects. 11 years ago
Dave Hylands f81a49e464 Allow floating point arguments with %d,i,u,o,x,X formats 11 years ago
Paul Sokolovsky e99841be69 mp_obj_get_int(): Add warning against adding implicit float->int conversion. 11 years ago
mux cc849f70f4 Move del to locals 11 years ago
Damien George 09a4d8305d py: Fix bug in DELETE_SUBSCR bytecode, decreasing sp too much. 11 years ago
Damien George 66edc5d899 py: Implement DELETE_SUBSCR bytecode; implement mp_obj_dict_delete. 11 years ago
Paul Sokolovsky 586bfce10d objfun: Add equality support. 11 years ago
Paul Sokolovsky bfb7d6a26d py: Support 3-arg getattr() builtin (with default value). 11 years ago
Paul Sokolovsky 438d504e27 objtype: Add equality test for type types. 11 years ago
Paul Sokolovsky 91cbe6033a py: Allow types to be hashable. 11 years ago