Skip to content

Commit fc91a83

Browse files
authored
PEP 818: Add "Emscripten-forge supports this pep" to motivation (#5159)
1 parent e449c7e commit fc91a83

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

‎peps/pep-0818.rst‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,17 @@ interface, it will be possible to support ``urllib`` on Emscripten. Downstream,
6464
supporting ``urllib3``, ``aiohttp``, and ``httpx`` requires the foreign function
6565
interface.
6666

67+
The fact that the Pyodide foreign function interface is coupled to Pyodide
68+
creates problems for other Emscripten-CPython distributions. For instance,
69+
`Emscripten-forge`_ is a project that provides conda recipes for the Emscripten
70+
platform. They have to reimplement the Pyodide foreign function interface in
71+
order to support downstream packages that use it. Their reimplementation is
72+
slower and has various minor incompatibilities. For this reason, the
73+
Emscripten-force maintainers strongly support adding Pyodide's interface to
74+
CPython.
75+
76+
.. _Emscripten-forge: https://emscripten-forge.org/
77+
6778
In order to keep the length of this PEP reasonable, we focus on the "core" of
6879
the foreign function interface. The JavaScript interface for managing the Python
6980
runtime is left to a future PEP.

0 commit comments

Comments
 (0)