1065 Commits (3fd2d7fad2022e3f26304fbc6ad74e6d8dd66e5f)

Author SHA1 Message Date
Damien George 3fd2d7fad2 py: Tidy up function argument error messages. 11 years ago
Damien George 32ca164992 py: Tidy up array.array; add more error handling. 11 years ago
Damien George 90edf9e13b inlinethumb: Add wfi, cpsid and cpsie instructions. 11 years ago
Damien George 5b65f0c7d3 py: Rename USE_COMPUTED_GOTOS to USE_COMPUTED_GOTO and enable on stmhal. 11 years ago
Damien George ea8d06c39d py: Add MP_OBJ_STOP_ITERATION and make good use of it. 11 years ago
Damien George 729f7b42d6 py: Merge BINARY_OP_SUBSCR and store_subscr (w/ delete) into subscr. 11 years ago
Damien George de7c425139 py: Simplify objfun/objgenerator connection, no need to call bc_get. 11 years ago
Damien George d0f9f6cd3f py: Fix pfenv_print_strn to return correct number of chars printed. 11 years ago
Paul Sokolovsky b7e90ea078 objgenerator: Generator must execute in its defining lexical context. 11 years ago
Paul Sokolovsky f26a30710c objfun: Add local header. 11 years ago
Damien George 71d3112f7e py: Make built-in 'range' a class. 11 years ago
Damien George d553be5982 build: Simplify build directory layout by putting all headers in genhdr. 11 years ago
Damien George dbdfee15a1 py: Add cmath module, for complex math. Disabled by default. 11 years ago
Damien George c9f6f6b8dd py: Enable builtin 'property' by default. 11 years ago
Damien George 66ae8c9f49 py: Tidy up variables in VM, probably fixes subtle bugs. 11 years ago
Damien George 8bcb9861a7 py: Don't assert but go to unsupported_op in mp_binary_op for small int. 11 years ago
Paul Sokolovsky 3a83b805fc nlr: Add implementation using setjmp/longjmp. 11 years ago
Andrew Scheller 70a7d7a943 build directory can now be renamed 11 years ago
Dave Hylands 1a797edd3b Have make remove targets if a recipie fails. 11 years ago
Damien George ee01411036 py: Add len(bytes). 11 years ago
Damien George 897fe0c0d0 py: Add builtin functions bin and oct, and some tests for them. 11 years ago
AZ Huang 9413ca02fb Rename header file. 11 years ago
Damien George b013aea809 py: Fix builtin hex to print prefix. 11 years ago
Damien George 5805111732 py: Add hex builtin function. 11 years ago
AZ Huang 9309d9982f Move entry_table to separated header file. 11 years ago
Damien George 3683789207 py: Clean up and add comments to makeqstrdata. 11 years ago
Paul Sokolovsky a5854d2bc5 builtinimport: Add basic support for namespace packages. 11 years ago
Paul Sokolovsky 75ffcaeace py: Implement __delitem__ method for classes. 11 years ago
Damien George 3bb8bd899b Make USE_COMPUTED_GOTO a config option in mpconfig.h. 11 years ago
AZ Huang b1f692e82e Use computed goto instead of switching op-codes. 11 years ago
AZ Huang 658eae308f Fix parallel build. 11 years ago
Andrew Scheller cc83737d35 Don't allow both ENDIANNESSes to be set 11 years ago
Paul Sokolovsky bbae42d62f modsys: Implement sys.version. 11 years ago
Paul Sokolovsky 58676fc2c7 objstr: Allow to define statically allocated str objects. 11 years ago
Paul Sokolovsky 59e269cfec qstr, objstr: Make sure that valid hash != 0, treat 0 as "not computed". 11 years ago
Paul Sokolovsky 14de114ba8 objdict: Add __delitem__. 11 years ago
Paul Sokolovsky cd94b384a3 objdict: Add __setitem__. 11 years ago
Damien George 777b0f32f4 py: Add property object, with basic functionality. 11 years ago
Damien George 9dcc60d0b1 py: Detect ZeroDivisionError properly for floats. 11 years ago
Damien George 0e4ba25834 py: Fix SyntaxError exception: don't have a block name, so pass NULL. 11 years ago
Damien George 73496fbbe4 py: Fix up source-line calculation. 11 years ago
Damien George b502156e22 py: Adjust #includes in lexerunix.c. 11 years ago
Paul Sokolovsky 978d2c0267 modsys: Implement sys.byteorder. 11 years ago
Paul Sokolovsky baaaf65eaa modsys: Implement basic sys.version_info. 11 years ago
Damien George 5bb7d99175 py: Modify makeqstrdata to recognise better the output of CPP. 11 years ago
Damien George 49f20b841d py: Add more #if's for configurable MOD_SYS. 11 years ago
Damien George b9e7ed4ebc py: Oops, fix int.from_bytes to correctly convert bytes! 11 years ago
Damien George 5213eb35b5 py: Make int.from_bytes a classmethod; support arbitrary length buf. 11 years ago
Damien George 8a1cab952f py: Fix mp_get_buffer, and use it in more places. 11 years ago
Damien George 4b01de44ba py: Add traceback info to syntax errors. 11 years ago