Jeff Glass

Results 168 comments of Jeff Glass

Given that this intersects with both #659 and #698, I won't be at all offended if this takes a long time to merge, or its work gets subsumed into some...

Thanks @madhur-tandon and all - makes sense to me, seems always using `runPythonAsync` provides what this PR was trying to achieve in terms of always correctly executing scripts with top...

@hoodmane Definitely, though it would miss ugly cases like `await(foo())`.

@antocuni That's true, though that will look for _any_ instances of using `async`/`await`, whereas the goal of this PR was to look for situations that require top-level await. For example,...

For what it's worth, this PR is not necessarily dead, but I've been deprioritizing it since it didn't have an immediate impact on the codebase for the 2022.09.1 release. I...

@tedpatrick That would depend exactly what the 'sync' and 'async' modes do, which I don't think we're clear on yet, or at least I'm not. Let's get together a proposal...

Are you running this script locally, or using it within a \ tag or similar? "JS" isn't a module on PyPI - it's Pyodide's way of representing the Javascript global...

The syntax for including a script via src is ``. The `src` is an attribute of the \ tag, not its contents. Though maybe that's a copy-paste issue? And to...

Can you copy/paste or screenshot the error that appears in your browser window (or the Developer console)? I think that will help clarify what's happening that it "can't go on."

The fact that that package is trying to load from the D: drive indicates that this script isn't running in a browser, but rather the file is being opened from...