208 Commits (0d8c22b122cf044e9bbb561d84ef614150a176e5)

Author SHA1 Message Date
Paul Sokolovsky 510296f25a modzlibd: Decompress part of "zlib" module, based on miniz tinfl.c . 10 years ago
Damien George 75ec22bf11 py: #if guard qstrs that are optional. 10 years ago
Damien George f20375eedd py: Add .real and .imag attributes to complex numbers. 10 years ago
Damien George 4c03b3a899 py: Implement builtin reversed() function. 10 years ago
Paul Sokolovsky d0f5e61ab5 py: Implement __file__ attribute for modules. 10 years ago
Dave Hylands 5b7fd20fea Add support for storing args during an exception raised by an irq. 11 years ago
Paul Sokolovsky cb66f41ebc py: Make print() accept "file" argument, and actually print to stream. 10 years ago
Paul Sokolovsky 2097c8b1e1 moductypes: Add symbolic constants to specify bitfield position/length. 10 years ago
Paul Sokolovsky 8215847b4d moductypes: Foreign data interface module, roughly based on ctype ideas. 11 years ago
Paul Sokolovsky 4e0eeebdc2 py: Implement sys.maxsize, standard way to check platform "bitness". 11 years ago
Paul Sokolovsky 5aa740c3e2 modgc: Add mem_free()/mem_alloc() methods. 11 years ago
Paul Sokolovsky fbdf2f1d63 py: Rename builtin "io" to "_io". 11 years ago
Paul Sokolovsky 5473f743f3 objtype: Enable __lt__ method support for instances. 11 years ago
Paul Sokolovsky b9b9354e6c modsys: Add optional support for sys.platform. 11 years ago
Damien George fb510b3bf9 Rename bultins config variables to MICROPY_PY_BUILTINS_*. 11 years ago
Kim Bauters a3f4b83018 add methods isspace(), isalpha(), isdigit(), isupper() and islower() to str 11 years ago
Damien George 7a4ddd2428 Add SystemExit exception and use it in unix/ and stmhal/ ports. 11 years ago
Damien George ee3fd46f13 Rename configuration variables controling Python features. 11 years ago
Paul Sokolovsky d098c6bf85 objstr: Implement .endswith(). 11 years ago
Paul Sokolovsky 9e29666bf9 py: Implement proper separation between io.FileIO and io.TextIOWrapper. 11 years ago
Paul Sokolovsky 13684fd60b objtype: Separate __new__ and __init__ methods. 11 years ago
Paul Sokolovsky 2a27365854 objstr.c: Partial implementation of .rsplit(). 11 years ago
Paul Sokolovsky ff30666c69 py: Add basic implementation of hasattr() function. 11 years ago
Paul Sokolovsky 6913521911 objstr: Implement .lower() and .upper(). 11 years ago
Paul Sokolovsky d99e9083cb modsys, unix: Add sys.exit(), should be implemented by a port. 11 years ago
Paul Sokolovsky b181b581aa objset: Give up and implement frozenset. 11 years ago
Damien George 3417bc2f25 py: Rename byte_code to bytecode everywhere. 11 years ago
Damien George 8c1c7488b2 Add gc.enable, gc.disable; remove pyb.gc. 11 years ago
Damien George ffae48d750 py, compiler: Add basic support for A=const(123). 11 years ago
Damien George 491cbd6a7c py: Add keyword arg support to enumerate constructor. 11 years ago
Paul Sokolovsky f9e54e0ea5 modgc: Add new module for GC-related functionality. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Damien George d5f5b2f766 py, stream: Implement readlines for a stream. 11 years ago
Damien George 0c8fcb9c49 py: Remove silly comment about interning keywords. 11 years ago
Damien George 708c073250 py: Add '*' qstr for 'import *'; use blank qstr for comprehension arg. 11 years ago
Paul Sokolovsky 27f5bdd6d4 py: "read" & "write" are so common that make them core. 11 years ago
Paul Sokolovsky cb9dc086a3 modio: Implement io.StringIO class. 11 years ago
Paul Sokolovsky 881078403e objstr: Implement .lstrip() & .rstrip(). 11 years ago
Paul Sokolovsky 755565d2cb py: Support instance __call__ method. 11 years ago
Damien George e5f8a77db6 py: Add 'align' and 'data' meta-instructions to inline assembler. 11 years ago
Paul Sokolovsky 6204460461 modstruct: Initial implementation of struct.pack(). 11 years ago
Damien George dbdfee15a1 py: Add cmath module, for complex math. Disabled by default. 11 years ago
Damien George 897fe0c0d0 py: Add builtin functions bin and oct, and some tests for them. 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
Paul Sokolovsky bbae42d62f modsys: Implement sys.version. 11 years ago
Paul Sokolovsky 14de114ba8 objdict: Add __delitem__. 11 years ago
Damien George 777b0f32f4 py: Add property object, with basic functionality. 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