8000 GH-118095: Use broader specializations in tier 1, for better tier 2 support of calls. by markshannon · Pull Request #118322 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

GH-118095: Use broader specializations in tier 1, for better tier 2 support of calls. #118322

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 19 commits into from
May 4, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Yet another attempt to get the WASI build to work
  • Loading branch information
markshannon committed May 3, 2024
commit 02cdf2f12fdcbe2b1c6103d8e93c8ab22a37e4c9
2 changes: 1 addition & 1 deletion Include/cpython/pystate.h
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ struct _ts {
// higher stack memory usage than a release build: use a lower limit.
# if defined(__wasi__)
// Based on wasmtime 16.
# define Py_C_RECURSION_LIMIT 350
# define Py_C_RECURSION_LIMIT 300
# else
# define Py_C_RECURSION_LIMIT 500
# endif
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_dynamic.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def __missing__(self, key):
return int(key.removeprefix("_number_"))

# Need more than 256 variables to use EXTENDED_ARGS
variables = 300
variables = 270
code = "lambda: " + "+".join(f"_number_{i}" for i in range(variables))
sum_func = eval(code, MyGlobals())
expected = sum(range(variables))
Expand Down
0