circuitpython/ports
Noralf Trønnes 1b86e5fc83 samd51: Enable functionality to support CPython stdlib
This enables various things in order to support the CPython standard library.

MICROPY_PY_BUILTINS_NOTIMPLEMENTED:
Support NotImplemented for easy conversion of stdlib.
It doesn't do fallbacks though, only raises TypeError.

MICROPY_PY_COLLECTIONS_ORDEREDDICT:
collections.OrderedDict

MICROPY_PY_FUNCTION_ATTRS:
Support function.__name__ for use as key in the function attribute workaround.

MICROPY_PY_IO:
uio module: BytesIO, FileIO, StringIO, TextIOWrapper
Also add 'io' alias.

MICROPY_PY_REVERSE_SPECIAL_METHODS:
Support the __r*__ special methods.

MICROPY_PY_SYS_EXC_INFO:
sys.exc_info() used by unittest when collecting exceptions.

MICROPY_CPYTHON_COMPAT:
Some of the things it adds:

>>> object.__init__
<function>
>>> object.__new__
<function>
>>> object.__class__
<class 'type'>
>>> object().__class__
<class 'object'>
>>> object.__name__
'object'

>>> 'Hello'.encode()
b'Hello'
>>> b'Hello'.decode()
'Hello'

Named tuple field names from string:
namedtuple('Point', 'x y')
2018-10-24 19:33:01 +02:00
..
atmel-samd samd51: Enable functionality to support CPython stdlib 2018-10-24 19:33:01 +02:00
bare-arm ports/{bare-arm,minimal}/Makefile: Only build with core source files. 2018-02-22 12:48:51 +11:00
cc3200 WIP: after merge; before testing 2018-07-11 16:45:30 -04:00
esp32 esp32/modules: Include umqtt library in frozen modules. 2018-06-15 16:39:49 +10:00
esp8266 merge 3.0.2 to master 2018-09-18 15:38:12 -04:00
minimal minimal/main: Allow to compile without GC enabled. 2018-05-21 13:13:21 +10:00
nrf add force_create to nrf filesystem_init() 2018-10-06 08:03:27 -04:00
pic16bit all: Update Makefiles and others to build with new ports/ dir layout. 2017-09-06 14:09:13 +10:00
qemu-arm put back test in qemu-arm build 2018-07-28 23:40:17 -04:00
stm32 WIP: after merge; before testing 2018-07-11 16:45:30 -04:00
teensy WIP: after merge; before testing 2018-07-11 16:45:30 -04:00
unix Fix unix coverage and update translations. 2018-08-16 17:41:53 -07:00
windows WIP: after merge; before testing 2018-07-11 16:45:30 -04:00
zephyr zephyr/Makefile: Add kobj_types_h_target to Z_EXPORTS. 2018-05-21 10:35:16 +10:00