If the user writes any nonzero value into `interrupt_buffer`, call
`PyErr_SetInterruptEx` on it. This silently ignores out of range
signals.

`PyErr_SetInterruptEx` is new in Python 3.10.
Handle signals other than SIGINT with interrupt_buffer. If the user writes any nonzero value into `interrupt_buffer`, call
`PyErr_SetInterruptEx` on it. This silently ignores out of range
signals.

`PyErr_SetInterruptEx` is new in Python 3.10.
# JavaScript API

Backward compatibility of the API is not guaranteed at this point.

## Globals

```{eval-rst}
.. js-doc-summary:: globalThis
.. js-doc-content:: globalThis
```

(js-api-pyodide)=

## pyodide

```{eval-rst}
.. js-doc-summary:: pyodide
.. js-doc-content:: pyodide
```

(js-api-pyproxy)=

## PyProxy

A PyProxy is an object that allows idiomatic use of a Python object from JavaScript. See {ref}`type-translations-pyproxy`.

```{eval-rst}
.. js-doc-summary:: PyProxy
.. js-doc-content:: PyProxy
```

# JavaScript API

Backward compatibility of the API is not guaranteed at this point.

## Globals

```{eval-rst}
.. js-doc-summary:: globalThis
.. js-doc-content:: globalThis
```

(js-api-pyodide)=

## pyodide

```{eval-rst}
.. js-doc-summary:: pyodide
.. js-doc-content:: pyodide
```

(js-api-pyproxy)=

## PyProxy

A PyProxy is an object that allows idiomatic use of a Python object from JavaScript. See {ref}`type-translations-pyproxy`.

```{eval-rst}
.. js-doc-summary:: PyProxy
.. js-doc-content:: PyProxy
```
