Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
10 changes: 5 additions & 5 deletions Include/internal/pycore_opcode_metadata.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

235 changes: 118 additions & 117 deletions Include/internal/pycore_uop_ids.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions Include/internal/pycore_uop_metadata.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions Lib/test/test_opcache.py
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,13 @@ def count_args(self, *args):
MyClass.__init__.__code__ = count_args.__code__
instantiate()

def test_recursion_check_for_general_calls(self):
def test(default=None):
return test()

with self.assertRaises(RecursionError):
test()


@threading_helper.requires_working_threading()
@requires_specialization
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Certain calls now check for runaway recursion and respect the system recursion limit.
Loading
Loading