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 e39257a commit 2ec1e3cCopy full SHA for 2ec1e3c
cpython-unix/build-cpython.sh
@@ -348,6 +348,12 @@ if [ "${PYBUILD_PLATFORM}" != "macos" ]; then
348
fi
349
350
351
+# On Python 3.14+, enable the tail calling interpreter which is more performant.
352
+# https://docs.python.org/3.14/using/configure.html#cmdoption-with-tail-call-interp
353
+if [ -n "${PYTHON_MEETS_MINIMUM_VERSION_3_14}" ]; then
354
+ EXTRA_CONFIGURE_FLAGS="${EXTRA_CONFIGURE_FLAGS} --with-tail-call-interp"
355
+fi
356
+
357
# On Python 3.12+ we need to link the special hacl library provided some SHA-256
358
# implementations. Since we hack up the regular extension building mechanism, we
359
# need to reinvent this wheel.
0 commit comments