Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions peps/pep-0818.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,17 @@ interface, it will be possible to support ``urllib`` on Emscripten. Downstream,
supporting ``urllib3``, ``aiohttp``, and ``httpx`` requires the foreign function
interface.

The fact that the Pyodide foreign function interface is coupled to Pyodide
creates problems for other Emscripten-CPython distributions. For instance,
`Emscripten-forge`_ is a project that provides conda recipes for the Emscripten
platform. They have to reimplement the Pyodide foreign function interface in
order to support downstream packages that use it. Their reimplementation is
slower and has various minor incompatibilities. For this reason, the
Emscripten-force maintainers strongly support adding Pyodide's interface to
CPython.

.. _Emscripten-forge: https://emscripten-forge.org/

In order to keep the length of this PEP reasonable, we focus on the "core" of
the foreign function interface. The JavaScript interface for managing the Python
runtime is left to a future PEP.
Expand Down
Loading