New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JS Promise partial support #769
Comments
For
Here, unlike #768 importing from
About class A:
def finally(self):
return 0 produces, def finally(self):
^
SyntaxError: invalid syntax in Python (even outside Pyodide). Let's see if anyone has ideas how to address this on the CPython side (https://stackoverflow.com/questions/64396988). |
PR #880 wraps the promise in a Future so we could expose that API, but it's a bit different, and a bit less usable, and doesn't have an equivalent to |
@dalcde Do you have any opinion about what name we should use for the promise |
Closed by #1334. |
It seems that js promises only works partially.
Can't create a promise from Python:
promise.finally
not working:The text was updated successfully, but these errors were encountered: