John S

Results 115 comments of John S

BTW, I believe the bug happens only when a default value is supplied. With no default value and using the kwargs pragma, it should work.

I created a module to test this and to get around some namespace confusion, I changed the import in my test from ```python from addict import Dict ``` to ```python...

enumerate seems to work properly for strings and lists but not for generators.

A fix is in place for v3.9.4 but needs more testing, and maybe a performance check. Instead of using `zip`, `enumerate` has instead been changed to use a JS generator,...

The stubs are only needed when you need to run your code with CPython. If you are only going to be using the Transcypt'd JS code then the stubs are...

Yes, there was an update to Transcrypt a few weeks ago, and there were some changes to enumerate. I will look into this and see if I can reproduce the...

In version 3.9.4, I did introduce (perhaps unnecessarily) a py_enumerate alias for enumerate to be consistent with other Python functions in the runtime. But so far, I am not able...

Thank you for the additional info, I'll check this use case. FWIW, I will likely drop the `py_enumerate` alias in the [next version (3.13.0)](https://github.com/TranscryptOrg/Transcrypt/discussions/897) as I don't think it is...

I tested your example and it still worked for me: ``` in tests/enumerate.py 0: 1 1: 2 2: 3 3: 4 4: 5 in tests/enumerate.py 0: 1 1: 2 2:...

The only thing I can think of that would cause this situation (where the code gets aliased but the import does not) is if the org.transcrypt.__runtime__.js file that it is...