summaryrefslogtreecommitdiff
path: root/locale/circuitpython.pot
diff options
context:
space:
mode:
authorNoralf Trønnes <noralf@tronnes.org>2018-10-07 20:43:39 +0200
committerNoralf Trønnes <noralf@tronnes.org>2018-10-24 19:33:01 +0200
commit1b86e5fc8362a913a0ef7de01cce68c980238fd8 (patch)
treebab365513099124450b9c35fc0daf36933a3f234 /locale/circuitpython.pot
parentcec9a69a15a16a42bea528032d00684ddee0df22 (diff)
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')
Diffstat (limited to 'locale/circuitpython.pot')
0 files changed, 0 insertions, 0 deletions