Skip to content

Commit b7cf067

Browse files
Apply Jelle's copy edits
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
1 parent ef7d938 commit b7cf067

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

peps/pep-0776.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,11 @@ there are problems with networking APIs and blocking I/O, and there is no
110110
support for ``fork()``. See `Emscripten Portability Guidelines
111111
<https://emscripten.org/docs/porting/guidelines/portability_guidelines.html>`__.
112112

113-
Emscripten executables can be linked with threading support, however, it comes
113+
Emscripten executables can be linked with threading support, but it comes
114114
with several limitations:
115115

116116
* Enabling threading requires websites to be served with special security headers
117-
that indicate acceptance of the possibility of spectre-style information
117+
that indicate acceptance of the possibility of `Spectre <https://en.wikipedia.org/wiki/Spectre_(security_vulnerability)>`__-style information
118118
leakage. These headers are a usability hazard for users who are not intimately
119119
familiar with the web platform.
120120

@@ -166,7 +166,7 @@ macOS. Upstream tools:
166166
command line. This emulation behaves best on Linux with macOS as a runner up.
167167
Node.js is the most convenient way to test Emscripten programs.
168168
* It is possible to run Emscripten programs inside of any web browser. Browser
169-
automation tools like selenium, playwright, or pupeeteer can be used to test
169+
automation tools like Selenium, Playwright, or Puppeteer can be used to test
170170
features that are browser-only.
171171

172172
Pyodide's tools:
@@ -249,7 +249,7 @@ Emscripten file system. There are several possible approaches to this:
249249
compression to the standard library itself. It also uses the more efficient
250250
native decompression algorithms of the browser rather than less efficient
251251
WebAssembly decompression. The disadvantage of this is a higher memory
252-
footprint and it breaks ``inspect`` and various tests that do not expect the
252+
footprint and it breaks :py:mod:`inspect` and various tests that do not expect the
253253
standard library to be packaged in this way.
254254

255255
* Put the standard library into an uncompressed tar archive and mount it into a
@@ -273,7 +273,7 @@ default to calling ``console.log`` and ``console.error`` respectively. It is
273273
possible to pass handlers to ``bootstrapEmscriptenExecutable()`` to configure
274274
the standard streams, but no matter what the I/O devices have undesirable line
275275
buffering behavior that forces a new line when flushed. To implement a well
276-
behaved tty in browser, it is necessary to remove the default I/O devices and
276+
behaved TTY in-browser, it is necessary to remove the default I/O devices and
277277
replace them in a ``preRun`` hook.
278278

279279
Making ``stdin`` work correctly in the browser poses an additional challenge
@@ -317,7 +317,7 @@ switch in order to instantiate a dynamic library synchronously.
317317

318318
To avoid the synchronous loading limit, Pyodide currently preloads all dynamic
319319
libraries present in a wheel when installing the wheel (or on startup). This is
320-
a significant disadvantage with packages like scipy that include a very large
320+
a significant disadvantage with packages like SciPy that include a very large
321321
number of shared libraries that are expected to be only loaded on demand.
322322
Pyodide will implement a solution based on stack switching as it becomes more
323323
widely available in runtimes.
@@ -660,7 +660,7 @@ versions of Python, Node.js, and Emscripten.
660660
PEP 11
661661
------
662662

663-
:pep:`11` will be updated to indicate that Emscripten is supported. Specifically
663+
:pep:`11` will be updated to indicate that Emscripten is supported, specifically
664664
the triples ``wasm32-unknown-emscripten_xx_xx_xx``.
665665

666666
Russell Keith-Magee will serve as the initial core team contact for these ABIs.

0 commit comments

Comments
 (0)