micropython/unix
Damien George c5966128c7 Implement proper exception type hierarchy.
Each built-in exception is now a type, with base type BaseException.
C exceptions are created by passing a pointer to the exception type to
make an instance of.  When raising an exception from the VM, an
instance is created automatically if an exception type is raised (as
opposed to an exception instance).

Exception matching (RT_BINARY_OP_EXCEPTION_MATCH) is now proper.

Handling of parse error changed to match new exceptions.

mp_const_type renamed to mp_type_type for consistency.
2014-02-15 16:10:44 +00:00
..
.gitignore Revamp qstrs: they now include length and hash. 2014-01-21 21:40:13 +00:00
Makefile OS X compatible -map syntax for LDFLAGS 2014-02-14 16:38:05 -06:00
ffi.c Implement proper exception type hierarchy. 2014-02-15 16:10:44 +00:00
file.c Implement proper exception type hierarchy. 2014-02-15 16:10:44 +00:00
gccollect.c More GC debugging improvements. 2014-02-11 18:09:50 +02:00
main.c Implement proper exception type hierarchy. 2014-02-15 16:10:44 +00:00
mpconfigport.h Allow ports to define statically builtin functions. 2014-02-14 12:13:34 +02:00
mpconfigport.mk unix: Add basic time module (with time() and clock() functions). 2014-02-02 01:34:11 +02:00
qstrdefsport.h Implement proper exception type hierarchy. 2014-02-15 16:10:44 +00:00
socket.c Implement proper exception type hierarchy. 2014-02-15 16:10:44 +00:00
time.c unix: Implement time.sleep(). 2014-02-09 12:52:04 +02:00