Not entirely as MicroPython is generally version 3.4 compatible with some adoption of later version features but, yes, having it run on more constrained hardware does mean things are quite different under the hood, and it wasn't designed to support everything CPython does, nor do things in exactly the same way.CPython is admittedly off topic for MicroPython which is different and has its own challenges.
That does mean there can be more challenges in adding something CPython supports because it has to fit with MicroPython design choices or those choices have to be modified or updated. And that can be difficult to do as we have seen with threading.
MicroPython language is a reimplementation of the CPython language and it's mostly the availability and functionality of modules which differ. But sometimes, as with threading, its success is reliant on things deep within the language support implementation.
Statistics: Posted by hippy — Wed Nov 27, 2024 3:18 pm