Replies: 2 comments 2 replies
-
That one is not likely to get resolved soon. pyodide/pyodide#2354
We had such issues in the past, I thought we had some fix for it, due to the JS FS not being fully POSIX. But maybe it's another issue. If you have a reproducible example a new issue would be useful.
Opened pyodide/pyodide#3097
Maybe a JupterLite issue. Rich should work in the Pyodide REPL (or at least it used to). |
Beta Was this translation helpful? Give feedback.
-
This seems to work: import asyncio
print('test')
await asyncio.sleep(3)
print('test2') |
Beta Was this translation helpful? Give feedback.
-
Taught level-up-your-python today at PyHEP using Pyodide + JupyterLite, and went pretty well. Better than when I taught my class last week and everything was breaking due to the latest release of JuptyerLite embedding Pyodide 0.21.0 and me being on Safari (whoops!). This time I patched out 0.21.2 manually and that was better. Things that popped up:
time.sleep
didn’t work. It just returns immediatly. That makes a few demos weird.StopIteration
vianext()
caused it to hang.Still, that’s 90% working so very nice. :)
Beta Was this translation helpful? Give feedback.
All reactions