John S

Results 12 issues of John S

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

Add missing number base conversion functions (`bin`, `oct`, `hex`) to _\_\_builtin\_\_.js_ Add autotests for new number base conversion functions to _module_builtin_ Addresses most of issue: https://github.com/QQuick/Transcrypt/issues/752 After this PR, I...

Fixes the `maxreplace` (aka count) argument to the string replace function in _\_\_builtin\_\_.js_ Add autotests for string `replace` function to _module_builtin_ Fixes issue: https://github.com/QQuick/Transcrypt/issues/722

Add `start` argument to `enumerate` function in _\_\_builtin\_\_.js_ Add autotests for `enumerate` function to _module_builtin_ Fixes issue https://github.com/QQuick/Transcrypt/issues/804

Since the version of Transcrypt is coupled with the version of Python, can Transcrypt do a version check when run to make sure that the Python version being used matches...

For consideration as a "feature" request, would it make sense to pull the docs, demos, and tutorials out of the pip transcrypt installation and just have those online or as...

SUB: packaging

In trying to use an ES6 style JavaScript import rather than the Node `require()` function, the `js` pragma fails if the import module name is more than 5 characters long....

I am currently getting this error when trying to utilize dataclasses.replace() > Uncaught TypeError: (0 , _dataclasses.py_replace) is not a function Is this because the method has not been implemented...

IS: enhancement
PRIO: 2 want

I didn't see an exception listed in the [docs](https://www.transcrypt.org/docs/html/differences_cpython.html), but the `min()` and `max()` translations are currently using the JS `Math.min()` and `Math.max()` which only support numbers, whereas the Python...

IS: enhancement

The existing [parcel_demo](https://github.com/TranscryptOrg/Transcrypt/tree/master/transcrypt/demos/parcel_demo) is currently broken. Rather than fix it to work as-is, it would make more sense to update it to use the current version of the Parcel bundler.

SUB: documentation
IS: demo