Transcrypt icon indicating copy to clipboard operation
Transcrypt copied to clipboard

Python 3.9 to JavaScript compiler - Lean, fast, open! -

Results 162 Transcrypt issues
Sort by recently updated
recently updated
newest added

I reinstalled Transcrypt today, and I encountered a weird error. source: ``` def test_enumerate(): print('in test_enumerate()') l= [1,2,3,4,5] for i, v in enumerate(l): print(f'{i}: {v}') ``` output: ``` in test_enumerate()...

IS: bug?

Is there a way to specify libraries? like I could specify that theirs an js equivalent library for this etc... Or at least to also transcrypt the Py libraries used?...

Does transcrypt have a programmatic API? I'd like to do something like this for a live-reload server: ```python from transcrypt import compilationApi def requestHandler(req): # Suppose browser has made request...

There is an apparent problem with `tuple + obj` and `list + obj` expressions. Rather than call `obj.__radd__`, it seems that `tuple.__add__`/`list.__add__` are called. Similar problem occurs with `tuple *...

Expression with in-place floordiv operator within `__pragma__('opov')` causes error. Error occurs with `x //= y` within `__pragma__('opov')`. Browser error: Uncaught SyntaxError: missing ) after argument list. Causes whole script to...

IS: bug?

Expression with invert operator of an class instance causes error. Error occurs with `iobj = ~(obj)` expression. Browser error: Uncaught TypeError: Function.prototype.toString called on incompatible object. Worked properly with `iobj...

IS: bug?

Vue's loader generated me commands such as: `Error: Command failed: python3 -m transcrypt --nomin --map --verbose --esv 6 "pages.today"` Which ended up in a bad exist (exception within an exception)...

PRIO: 2 want
IS: improve comp. report

I'm not sure if this a known difference with CPython, but when comparing dictionaries for equality, the transpiled JS always returns false. I assume this has to do with how...

IS: duplicate

Hi, I am trying to integrate a Javascript library whose name is 'babylon-htmlmesh'. As you can see, the name of the library includes '-' character. I found that Transcrypt mistranslated...

Fixed the following bugs and avoids to emit the wrong "var" keyword. def count_100(index): for j in range(100): index = index + 1 return index Generated wrong to: export var...