faerot
faerot
I was surprised that getattr() function does not allow third default argument, which is critically important basic functionality as JavaScript does not raise AttributeErrors when accessing missing attributes and we...
```python x = [] for i in range(5): x.append(lambda i=i: print(i)) for c in x: c() ``` python output: ``` 0 1 2 3 4 ``` javascript output: ``` undefined...
It's been 6 months since Jacques reacted on any of reported issues and I am wondering what are his plans about the future of this project. I am currently working...
```python for i in range(10): pass print(i) ``` Will print 9 in python, but 10 in javascript, because the loop is unrolled into ```for (var i=0; i
It does not allow dict(a=1, b=2) which I can live without, but it also does not allow dict(a, b=2) and dict(a, **b) which is unfortunate.
I have put ``#__pragma__('nojsmod')`` in the beginning of the file but transcrypt still generates __mod__function calls instead of % operator.
Pretty much self-explanatory
Standard method str.splitlines is missing in transcrypt
Example to reproduce: a.py: ```python def test1(): pass def test2(): pass ``` b.py: ```python from a import test1 ``` c.py: ```python from a import test1, test2 from b import *...
```python exported = 1 if exported: non_exported = 1 ``` results in: ```javascript export var exported = 1; if (exported) { var non_exported = 1; } ``` note absence of...