MicroPython doesn't support MethodType() from "types" module! #1956
Labels
3rd party
Errors coming from foreign projects we either enable or rely on
needs-triage
Issue needs triage
type: bug
Something isn't working
Checklist
What happened?
When MethodType() is invoked MicroPython raises:
We can see that bug happen in file "best.py" inside function setup() on this link:
https://PyScript.com/@gotoloop/unicode-letters-test/v2
Besides swapping to Pyodide instead:
https://PyScript.com/@gotoloop/unicode-letters-test/v3
By chance I've found out about function partial() from "functools" module:
https://PyScript.com/@gotoloop/unicode-letters-test
But I still think MicroPython should fix MethodType(), although partial() seems to do exactly the same; whether more performant or not I dunno.
What browsers are you seeing the problem on? (if applicable)
Firefox, Chrome, Other
Console info
Additional Context
No response
The text was updated successfully, but these errors were encountered: