Jeff Glass

Results 168 comments of Jeff Glass

(Apologies for the delay on this, I had hoped to have more time over the weekend.) As promised, I've build a little demo of how this could work using ContextVars,...

HI @marimeireles! > They were supposed to hold the information of "which tag invoked the display() function" and then proceed to display underneath the function. Correct? The ContextVar is holding...

Bonus note - since all the other attributes of the PyScript class are either @classmethod's or class attributes, I think both `__version__` and `version_info` should be class attributes as well....

### [Edit: See updated spec proposal below](https://github.com/pyscript/pyscript/pull/833#issuecomment-1297614207) Updates: - `PyScript.__version__` and `PyScript.version_info` now work as described, and [pull their data from runtime.ts](https://github.com/JeffersGlass/pyscript/blob/3b1afd7186e8ac788f374c35cc99524057becc81/pyscriptjs/src/runtime.ts#L7). - I'm prosing this data be stored as...

At long last, I think this is ready for review. Apologies for it taking so long, I had a lot to learn about GitHub Actions along the way. There are...

Correct, only [packages supported by Piodide](https://github.com/pyodide/pyodide/tree/main/packages) or pure Python packages that can be [installed via micropip](https://github.com/pyscript/pyscript/issues/85#issuecomment-1116838680) can be run imported, if I undrerstand right. Turtle (and tKinter which its based...

I think there must be something about how the pre-commit CI action works that I don't understand. eslint warnings shouldn't fail the build step - we've had a few hundred...

Thanks @fpliger! Agreed, as we move into having more runtime options down the road (and/or multiple runtimes in a single page), it'd be nice to have a unified API for...

You'll want to use asyncio.sleep(). See, for instance, the [simple_clock example](https://github.com/pyscript/pyscript/blob/cc6d6247a8917c8aefcd60a62e80671fc6657f5e/pyscriptjs/examples/simple_clock.html).

Interesting! Just so we understand better - it sounds like the issue is that corporate network and/or proxy are blocking some actions of micropip downloading packages from PyPI, but specifying...