92 Commits (c7969857f4df078d7e0ce80fc5154d3469b3dddf)

Author SHA1 Message Date
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
Paul Sokolovsky 036ad76659 objset: Implement __contains__() op-method. 11 years ago
Paul Sokolovsky 48fdaad824 py: Rename collections module to _collections. 11 years ago
Paul Sokolovsky a3e50eacca py: Move sys attribute qstrs's to core. 11 years ago
Paul Sokolovsky 73b7027b83 objstr: Add str.encode() and bytes.decode() methods. 11 years ago
Paul Sokolovsky 13d52df4c5 builtinimport: Set __path__ attribute on packages. 11 years ago
Paul Sokolovsky a925cb54f1 py: Preprocess qstrdefs.h before feeding to makeqstrdata.py. 11 years ago
Paul Sokolovsky e9db840480 py: Start implementing "struct" module. 11 years ago
Paul Sokolovsky a985b4593d objint: Implement int.from_bytes() class method and .to_bytes() method. 11 years ago
xbe 3d9a39e211 py: Implement str.[r]index() and add tests for them. 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
mux cc849f70f4 Move del to locals 11 years ago
Paul Sokolovsky 98a627dc03 py: Add "io" module. 11 years ago
Damien George 4881566874 py: Add support for sep and end keywords in print. 11 years ago
Damien George e44d26ae0c py: Implement __getattr__. 11 years ago