micropython/ports/unix
Damien George af20c2ead3 py: Add global default_emit_opt variable to make emit kind persistent.
mp_compile no longer takes an emit_opt argument, rather this setting is now
provided by the global default_emit_opt variable.

Now, when -X emit=native is passed as a command-line option, the emitter
will be set for all compiled modules (included imports), not just the
top-level script.

In the future there could be a way to also set this variable from a script.

Fixes issue #4267.
2019-08-28 12:47:58 +10:00
..
coverage-frzmpy
coverage-frzstr
modules
.gitignore gitignore: Put build-*/ pattern in top-level gitignore file. 2019-08-16 00:08:08 +10:00
Makefile unix/Makefile: Update coverage tests to match those in Travis. 2019-03-08 16:51:09 +11:00
alloc.c
coverage.c unix/coverage: Add test for printing literal % character. 2019-05-03 23:21:28 +10:00
fatfs_port.c
fdfile.h
file.c
gccollect.c unix/gcollect: Make sure stack/regs get captured properly for GC. 2019-05-01 15:06:21 +10:00
input.c
input.h
main.c py: Add global default_emit_opt variable to make emit kind persistent. 2019-08-28 12:47:58 +10:00
modffi.c various: Add and update my copyright line based on git history. 2019-05-17 18:04:15 +10:00
modjni.c
modmachine.c various: Add and update my copyright line based on git history. 2019-05-17 18:04:15 +10:00
modos.c various: Update early copyright years to match actual edit history. 2019-05-17 18:06:11 +10:00
modtermios.c various: Add and update my copyright line based on git history. 2019-05-17 18:04:15 +10:00
modtime.c various: Update early copyright years to match actual edit history. 2019-05-17 18:06:11 +10:00
moduos_vfs.c
moduselect.c
modusocket.c unix/modusocket: Raise ETIMEDOUT when connect or accept has timeout. 2019-05-28 17:22:54 +10:00
mpconfigport.h py/modmath: Implement math.isclose() for non-complex numbers. 2019-08-17 23:23:17 +10:00
mpconfigport.mk unix/mpconfigport.mk: Update comment about TLS implementations. 2019-06-05 15:28:30 +10:00
mpconfigport_coverage.h extmod/modure: Make regex dump-code debugging feature optional. 2019-08-19 16:43:00 +10:00
mpconfigport_fast.h
mpconfigport_freedos.h
mpconfigport_minimal.h
mpconfigport_nanbox.h
mphalport.h
mpthreadport.c unix/mpthreadport: Use named semaphores on Mac OS X. 2019-03-27 10:50:01 +11:00
mpthreadport.h
qstrdefsport.h
unix_mphal.c unix/unix_mphal: Include time.h for CLOCK_MONOTONIC. 2019-07-09 13:05:59 +10:00