32 Commits (6fc5449343c2d1c80b0d05de767ef4081b6056fa)

Author SHA1 Message Date
Damien George c91097223d py: Remove some unnecessary exception objects. 11 years ago
Damien George 3ec0a1a32d py: Add 'object' object. 11 years ago
Rachel Dowdall 721c55dced Added exception hierarchy except for OSError and UnicodeError (requires arguments). Comment out the errors that aren't needed if memory becomes an issue. 11 years ago
Rachel Dowdall 249b9c761d Fixed broken math functions that return bool and added some more. 11 years ago
Rachel Dowdall 300c8bd4c2 Added ZeroDivisionError to float division. 11 years ago
Rachel Dowdall 5a14a1d690 Added various simple functions to math module. 11 years ago
Damien George a925639247 py: Add math.e constant. 11 years ago
Paul Sokolovsky 51bbf6a006 Implement support for __str__ and __repr__ special methods in classes. 11 years ago
Damien George 8854e1fa05 py: Add expm1 to math module. 11 years ago
Damien George 0c36da0b59 Implement ROMable modules. Add math module. 11 years ago
Paul Sokolovsky d08fd68664 Add basic collections.namedtuple implementation. 11 years ago
Damien George c5966128c7 Implement proper exception type hierarchy. 11 years ago
Damien George a71c83a1d1 Change mp_obj_type_t.name from const char * to qstr. 11 years ago
Paul Sokolovsky 76f06de96d Add NotImplementedError. 11 years ago
Damien George 7d0bfbedd2 py: Add some qstrs to the global table. 11 years ago
Damien George 64131f3215 Add staticmethod and classmethod to builtin namespace. 11 years ago
Damien George 35e2a4e6bb py: Add built-in super. 11 years ago
Paul Sokolovsky e11b17c25f Implement support for sys.path when loading modules. 11 years ago
Paul Sokolovsky 0c59db1973 Use qstr id to create sys module. 11 years ago
Paul Sokolovsky 7cd54d79db Add ImportError. 11 years ago
Paul Sokolovsky 1d938c9503 Expose __import__() function. 11 years ago
Damien George ca4767984b py: Implement builtin exec. 11 years ago
Damien George 4acb2452b3 py: Add very basic implementation of dir() builtin. 11 years ago
xbe 0ebf8534ab Implement and add tests for the id() builtin function. 11 years ago
Damien George 09a0c64bce py: Improve __bool__ and __len__ dispatch; add slots for them. 11 years ago
Damien George b829b5caec Implement mp_parse_node_free; print properly repr(string). 11 years ago
Damien George 7c9c667633 py: Implement iterator support for object that has __getitem__. 11 years ago
Paul Sokolovsky ab5d08280b Allow qstr's with non-ident chars, construct good identifier for them. 11 years ago
Damien George 55baff4c9b Revamp qstrs: they now include length and hash. 11 years ago
Paul Sokolovsky a80ff04fe7 Add dummy bytes() constructor. 11 years ago
Paul Sokolovsky 427905cedd Add skeleton implementation of array.array and bytearray. 11 years ago
Paul Sokolovsky 166bb40fb2 Add OverflowError and use it for small int overflow instead of assert. 11 years ago
Damien George d02c6d8962 Implement eval. 11 years ago
Damien George e2fb2baaa4 Implement repr. 11 years ago
Damien George 9528cd66d7 Convert parse errors to exceptions. 11 years ago
John R. Lenton fca456bc3c added filter() 11 years ago
John R. Lenton 39b174e00a Added map 11 years ago
Paul Sokolovsky 36c4499d36 Implement str() and repr() builtin functions. 11 years ago
John R. Lenton 9daa78943e added enumerate() 11 years ago
John R. Lenton 5c76839559 sorted 11 years ago
John R. Lenton 07205ec323 added zip() 11 years ago
Damien George 004cdcebfe py: Implement base class lookup, issubclass, isinstance. 11 years ago
xbe 7b0f39f318 Implement str.strip 11 years ago
John R. Lenton 9c83ec0eda Merge remote-tracking branch 'upstream/master' into dict_feats 11 years ago
Paul Sokolovsky 1e40840b3b Add OSError, Python 3.3 generic I/O exception. 11 years ago
Damien George 71c5181a8d Convert Python types to proper Python type hierarchy. 11 years ago
Damien George e9906ac3d7 Add ellipsis object. 11 years ago
Damien George eb7bfcb286 Split qstr into pools, and put initial pool in ROM. 11 years ago