circuitpython/ports
David Lechner 62849b7010 py: Add config option to print warnings/errors to stderr.
This adds a new configuration option to print runtime warnings and errors to
stderr. On Unix, CPython prints warnings and unhandled exceptions to stderr,
so the unix port here is configured to use this option.

The unix port already printed unhandled exceptions on the main thread to
stderr. This patch fixes unhandled exceptions on other threads and warnings
(issue #2838) not printing on stderr.

Additionally, a couple tests needed to be fixed to handle this new behavior.
This is done by also capturing stderr when running tests.
2017-09-26 11:59:11 +10:00
..
bare-arm all: Update Makefiles and others to build with new ports/ dir layout. 2017-09-06 14:09:13 +10:00
cc3200 py/builtinhelp: Change signature of help text var from pointer to array. 2017-09-12 16:03:52 +10:00
esp8266 py/builtinhelp: Change signature of help text var from pointer to array. 2017-09-12 16:03:52 +10:00
minimal all: Update Makefiles and others to build with new ports/ dir layout. 2017-09-06 14:09:13 +10:00
pic16bit all: Update Makefiles and others to build with new ports/ dir layout. 2017-09-06 14:09:13 +10:00
qemu-arm tests/class_reverse_op: Test for reverse arith ops special methods. 2017-09-10 17:05:57 +03:00
stm32 stm32/timer: Enable ARPE so that timer freq can be changed smoothly. 2017-09-25 15:25:08 +10:00
teensy py/builtinhelp: Change signature of help text var from pointer to array. 2017-09-12 16:03:52 +10:00
unix py: Add config option to print warnings/errors to stderr. 2017-09-26 11:59:11 +10:00
windows all: Update Makefiles and others to build with new ports/ dir layout. 2017-09-06 14:09:13 +10:00
zephyr py/builtinhelp: Change signature of help text var from pointer to array. 2017-09-12 16:03:52 +10:00