Antonio Cuni

Results 220 comments of Antonio Cuni

For reference, I reported it upstream: https://github.com/pre-commit/pre-commit/issues/2537 The author seems to think that it's a problem of my local environment, although I don't think it's the case. Do you confirm...

Thank you for the idea! I might agree that it might be useful in some cases, but probably very hard to implement. It's not even a pyscript problem, is a...

Ok, I get the idea now. Note that the two processes don't necessarily need to communicate through the DOM; there might be other IPC facilities available in WASM and/or emscripten,...

@JeffersGlass is correct but, at the same time, we should have a better story for non-async stuff. It should either work as expected or fail loudly. Failing silently as it...

I don't know why it's failing but I bet it's a pyodide/emscripten issue. I think it should be possible to write an implementation of it which yields the control to...

> it's more a python vm loop stack preservation problem but there are good news [ethanhs/python-wasm#12 (comment)](https://github.com/ethanhs/python-wasm/issues/12#issuecomment-986688520) I'm not sure this solves the issue. It might solve it in very...

It's not resolved, so it should be kept open.

good catch! I have modified the title to be more descriptive, because this is a problem which is related only to our test machinery. The explanation is simple: you don't...

> To your question. @antocuni I think this was due to behavior when you want the output to be inserted back in the DOM and things for mixed up. I...

Moreover, it seems that `htmlDecode` is called *twice*, unless I'm mistaken. First, it is called when we set `this.code`: https://github.com/pyscript/pyscript/blob/6cb81b5c3d21ca8f71431c079ce83103154fabc9/pyscriptjs/src/components/pyscript.ts#L33-L37 Later, it is called inside `getSourceElement()`: https://github.com/pyscript/pyscript/blob/6cb81b5c3d21ca8f71431c079ce83103154fabc9/pyscriptjs/src/components/pyscript.ts#L111-L114 If I apply...