quickjs icon indicating copy to clipboard operation
quickjs copied to clipboard

Thin Python wrapper of https://bellard.org/quickjs/

Results 33 quickjs issues
Sort by recently updated
recently updated
newest added

This adds types to the compiled module in `_quickjs.pyi` and completes the types in `quickjs/__init__.py`. Inline types are supported since Python 3.7 and since they are already used in the...

Any Idea what i did wrong or how to solve this?` ``` Collecting quickjs Using cached quickjs-1.19.2.tar.gz (455 kB) Preparing metadata (setup.py) ... done Using legacy 'setup.py install' for quickjs,...

# Rationale & background Some of the current open issues and PRs introduce potentially backward-incompatible changes. Backward incompatibility is only allowed when bumping the major version. Therefore it makes sense...

```python >>> import quickjs >>> quickjs.Object().json() Segmentation fault (core dumped) ```

Hi, @PetterS I want to know if there is a way to expose and call **`async`** python method from quickjs I exposed my simple async function via **`add_callable`** and tried...

As shown in the guide: https://packaging.python.org/en/latest/tutorials/packaging-projects/ While this is not a hard requirement, the post https://ianhopkinson.org.uk/2022/02/understanding-setup-py-setup-cfg-and-pyproject-toml-in-python/ mentions a good reason to do it: it ensures that the package has been...

E.g. do not use `int` where a function returns `Py_ssize_t`.

Implement `Object.get` and `Object.set` using the same ideas as `Context.get` and `Context.set`. Currently it is very tedious to get or set an object property. When the object is only known...

Extended alternative to #81: - `Object.get` and `Object.set` are implemented; - `Object.set` supports callables, merging in the code from `Context.add_callable`; - `Context.get_global` is implemented; - `Context.get`, `Context.set`, `Context.add_callable` are reimplemented...

Use `NULL == ptr` to avoid issues when forgetting an equal sign?