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

It would be nice to support dict unpacking `{**a, "b": 2}`, the Python equivalent to JavaScript object spread `{ ...a, b: 2}`. ```py # testme.py a = {"a": 1} b...

IS: enhancement
PRIO: 3 nice

Discovered an issue with `__pragma__ ('fcall')` when a method is an alias identifier such as `update`. Using fcall pragma, `update_count` method performance increased 16% (to 24% after 4M calls), whereas...

Discovered an issue with `super()` call when the method is an alias identifier such as `update`. If a subclass method calls `super().update()` it is translated to `__super__ (SubCls, 'update') (self)`...

IS: bug

After importing a transcrypt module, various prototypes such as Array, String, Uint8Array are polluted with python specific helper functions. These appear to be coming from the org.transcrypt.__runtime__.js module such as...

STATE: under consideration
PRIO: 2 want

I just committed a branch that makes transcrypt work with [Parcel Bundler](https://parceljs.org/). Parcel is a zero-config bundler that is gaining traction. The branch is at: https://github.com/QQuick/Transcrypt/tree/parcel-bundler The example run is...

IS: enhancement
PRIO: 1 must
SUB: core

I'm not a parcel expert, but my best guess is that you're importing a deprecated module in parcel? ```⚠️ Parser "parcel-plugin-transcrypt/asset.js" failed to initialize when processing asset "main.py". Threw the...

Heya, i think it'd be useful if there was a way to use CommonJS bindings for Transcrypt? As some environments don't support `import` and `export` statements

Thanks first of all for this great project! It appears that the `startswith()` method of strings cannot be used with a starting position parameter (cf [`str.startswith()`](https://docs.python.org/3/library/stdtypes.html#str.startswith)). If I try to...

Add `start` and `end` arguments to `String.startswith` and `String.endswith` methods in _\_\_builtin\_\_.js_ Add autotests for String `startswith` and `endswith` methods to _module_builtin_ Fixes issue https://github.com/QQuick/Transcrypt/issues/812

Let's say you have two files in lib1/ directory > lib1/ > code1.py > code2.py You can import something in code2.py from code1.py using '.' dotation notifying the current directory....

STATE: under consideration