circuitpython/unix
Paul Sokolovsky 46c3ab2004 modsys: Add sys.print_exception(exc, file=sys.stdout) function.
The function is modeled after traceback.print_exception(), but unbloated,
and put into existing module to save overhead on adding another module.
Compliant traceback.print_exception() is intended to be implemented in
micropython-lib in terms of sys.print_exception().

This change required refactoring mp_obj_print_exception() to take pfenv_t
interface arguments.

Addresses #751.
2014-12-08 20:25:49 +00:00
..
.gitignore Revamp qstrs: they now include length and hash. 2014-01-21 21:40:13 +00:00
alloc.c Code style/whitespace cleanup; remove obsolete headers. 2014-09-03 22:47:23 +01:00
file.c py: Make stream seek correctly check for ioctl fn; add seek for textio. 2014-11-16 23:56:37 +00:00
gccollect.c py: Make gc.enable/disable just control auto-GC; alloc is still allowed. 2014-10-31 21:30:46 +00:00
input.c unix: Remove unused CTRL-D definition 2014-06-25 13:33:10 +02:00
input.h Add input command for unix 2014-05-07 07:19:51 -07:00
main.c modsys: Add sys.print_exception(exc, file=sys.stdout) function. 2014-12-08 20:25:49 +00:00
Makefile unix: Provide "fast" target to build interpreter for benchmarking. 2014-11-02 18:17:43 +02:00
modffi.c py: Rename mp_obj_int_get to mp_obj_int_get_truncated; fix struct.pack. 2014-12-05 23:13:52 +00:00
modos.c Use MP_DEFINE_CONST_DICT macro to define module dicts. 2014-11-29 14:39:27 +00:00
modsocket.c py: Rename mp_obj_int_get to mp_obj_int_get_truncated; fix struct.pack. 2014-12-05 23:13:52 +00:00
modtermios.c Use MP_DEFINE_CONST_DICT macro to define module dicts. 2014-11-29 14:39:27 +00:00
modtime.c Use MP_DEFINE_CONST_DICT macro to define module dicts. 2014-11-29 14:39:27 +00:00
mpconfigport_fast.h unix: fast: Set initial module dict size big to have high pystone score. 2014-11-05 00:30:21 +02:00
mpconfigport.h modubinascii: Add, with hexlify() implementation. 2014-11-29 13:52:47 +00:00
mpconfigport.mk modtermios: Add "termios" unix module, subset of CPython's. 2014-08-23 06:09:46 +03:00
qstrdefsport.h unix: Rename "microsocket" module to "usocket". 2014-10-09 20:43:10 +03:00
seg_helpers.c unix: Create __bss_start and _end symbols for Mach-O targets. 2014-05-12 00:13:10 +02:00