kopia lustrzana https://github.com/micropython/micropython
![]() Python defines warnings as belonging to categories, where category is a warning type (descending from exception type). This is useful, as e.g. allows to disable warnings selectively and provide user-defined warning types. So, implement this in MicroPython, except that categories are represented just with strings. However, enough hooks are left to implement categories differently per-port (e.g. as types), without need to patch each and every usage. |
||
---|---|---|
.. | ||
coverage-frzmpy | ||
coverage-frzstr | ||
modules | ||
.gitignore | ||
Makefile | ||
alloc.c | ||
coverage.c | ||
fatfs_port.c | ||
fdfile.h | ||
file.c | ||
gccollect.c | ||
input.c | ||
input.h | ||
main.c | ||
modffi.c | ||
modjni.c | ||
modmachine.c | ||
modos.c | ||
modtermios.c | ||
modtime.c | ||
moduos_vfs.c | ||
moduselect.c | ||
modusocket.c | ||
mpconfigport.h | ||
mpconfigport.mk | ||
mpconfigport_coverage.h | ||
mpconfigport_fast.h | ||
mpconfigport_freedos.h | ||
mpconfigport_minimal.h | ||
mpconfigport_nanbox.h | ||
mphalport.h | ||
mpthreadport.c | ||
mpthreadport.h | ||
qstrdefsport.h | ||
unix_mphal.c |