micropython/ports/unix
Damien George 4601759bf5 py/objstr: Remove "make_qstr_if_not_already" arg from mp_obj_new_str.
This patch simplifies the str creation API to favour the common case of
creating a str object that is not forced to be interned.  To force
interning of a new str the new mp_obj_new_str_via_qstr function is added,
and should only be used if warranted.

Apart from simplifying the mp_obj_new_str function (and making it have the
same signature as mp_obj_new_bytes), this patch also reduces code size by a
bit (-16 bytes for bare-arm and roughly -40 bytes on the bare-metal archs).
2017-11-16 13:17:51 +11:00
..
coverage-frzmpy
coverage-frzstr
modules
.gitignore
Makefile unix: Rename modsocket.c to modusocket.c. 2017-10-23 12:09:37 +03:00
alloc.c
coverage.c py/objstr: Remove "make_qstr_if_not_already" arg from mp_obj_new_str. 2017-11-16 13:17:51 +11:00
fatfs_port.c
fdfile.h
file.c all: Remove inclusion of internal py header files. 2017-10-04 12:37:50 +11:00
gccollect.c
input.c
input.h
main.c py/objstr: Remove "make_qstr_if_not_already" arg from mp_obj_new_str. 2017-11-16 13:17:51 +11:00
modffi.c py/objstr: Remove "make_qstr_if_not_already" arg from mp_obj_new_str. 2017-11-16 13:17:51 +11:00
modjni.c py/objstr: Remove "make_qstr_if_not_already" arg from mp_obj_new_str. 2017-11-16 13:17:51 +11:00
modmachine.c
modos.c py/objstr: Remove "make_qstr_if_not_already" arg from mp_obj_new_str. 2017-11-16 13:17:51 +11:00
modtermios.c
modtime.c
moduos_vfs.c
moduselect.c unix/moduselect: Fix nanbox build after adding .dump() method. 2017-11-07 01:13:19 +02:00
modusocket.c unix/modusocket: Remove #if MICROPY_SOCKET_EXTRA code blocks. 2017-10-24 23:13:19 +03:00
mpconfigport.h extmod/moduhashlib: Enable SHA1 hashing when using "mbedtls" library. 2017-11-12 21:46:23 +02:00
mpconfigport.mk
mpconfigport_coverage.h py/objnamedtuple: Add _asdict function if OrderedDict is supported 2017-11-12 14:16:54 +02:00
mpconfigport_fast.h
mpconfigport_freedos.h
mpconfigport_minimal.h
mpconfigport_nanbox.h
mphalport.h
mpthreadport.c all: Remove inclusion of internal py header files. 2017-10-04 12:37:50 +11:00
mpthreadport.h
qstrdefsport.h
unix_mphal.c extmod/uos_dupterm: Update uos.dupterm() and helper funcs to have index. 2017-10-13 20:01:57 +11:00