Adding Python support to the Flipper Zero platform was only possible by rigorously sorting unnecessary language features. So here is a detailed list of all supported and unsupported Python language features.
The following features are enabled and supported by the interpreter:
__file__ constant.time module.random module.float data type.setattr function.filter function.reversed function.min and max function.__init__ imports.struct module.The following features are disabled and not supported by the interpreter:
__del__).__doc__ constants.cmath module.complex data type.__getattr__ support according to PEP 562.__get__, __set__ and __delete__.async and await functions.:= assign expression..pend_throw() method for generators.bytes.hex and bytes.fromhex..center, .count, .partition, .rpartition and .splitlines.% string formatting operator (use .format instead).bytearray data type.memoryview data type.slice object.frozenset object.property decorator.range function with start, stop and step attributes.next function with a second argument.round function with integers.__imul__).enumerate function.compile function.eval, exec and execfile functions.NotImplemented special constant.input function.pow function with 3 integer arguments.help function.micropython module.array module.collections module.gc module.sys module.select module.json module.This list of unsupported features is not set in stone. If you miss support for one particular feature, feel free to open an issue or make a pull request.