John S
John S
There must be an edge case somewhere in the compiler. With a slightly simpler example, this works: ```python def test(args): print(list(args.keys())) test(dict(**{'class': 'my-class'})) ``` But this does not: ```python def...
The Transcrypt website as a whole is fairly complex and I feel it wouldn't really serve well as a practical example. But having a smaller demo site that illustrates some...
By default, in an effort to maintain runtime performance, indexed lookups in Transcrypt default to using native JS lookups that only return `undefined` for an invalid index. This is the...
You are correct in that the Python `json` library has not been ported to Transcrypt. However, for basic encoding and decoding, the built-in JavaScript JSON object can be used instead....
It sounds like you are running into namespace issues. Are you using an `__init__.py` file in the `modules/enum_new/` and `automated_tests/transcrypt/module_enum/` folders? In `module_enum/__init__.py` you should be able to import your...
Are you running if from the transcrypt/development/automated_tests/transcrypt/ folder? It may also require a few more switches: -b -xr -da -xg -c -sf
The RPIO module doesn't sound like it has been updated to be fully compatible with the Pi2 yet. I'm going to look at switching this over to using the pigpio...
I've got the code that uses pigpio, I just need to test it a bit more and commit. I'll try to spend some time on it in the next few...
I thought this had already been resolved at some point (use of `kwargs` pragma is required), but I'll take a look at it. (Note to self: could be related to...
I don't know what all of the rationale was behind the implementation of that, or if there might be a better way to do it. However, if there is going...