QUERY · ISSUE
[Feature Request] types.SimpleNamespace
Currently types.SimpleNamespace implementation is missing
- https://github.com/micropython/micropython-lib/blob/f20d89c6aad9443a696561ca2a01f7ef0c8fb302/types/types.py#L16
- https://docs.python.org/3/library/types.html#types.SimpleNamespace
CANDIDATE · ISSUE
Missing standard types
Looking at https://docs.python.org/3/library/stdtypes.html it seems that micropython is missing the frozenset, memoryview and NotImplemented types (but I dunno how definitive that list is).
Got no idea if it matters or not, but in CPython3.3 type(range) returns <class 'type'> whereas in uPy it returns <class 'function'>.
(And it seems the numbers module doesn't exist yet, but I guess that's a library issue rather than a core issue?)