We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c93a0ac commit 3df0e63Copy full SHA for 3df0e63
Parser/tokenizer.c
@@ -2072,7 +2072,7 @@ _PyTokenizer_Get(struct tok_state *tok,
2072
return result;
2073
}
2074
2075
-#if defined(__wasi__) || defined(__EMSCRIPTEN__)
+#if defined(__wasi__) || (defined(__EMSCRIPTEN__) && (__EMSCRIPTEN_major__ >= 3))
2076
// fdopen() with borrowed fd. WASI does not provide dup() and Emscripten's
2077
// dup() emulation with open() is slow.
2078
typedef union {
0 commit comments