You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Dict creation in recursive function cause interpreter crashes. #87353
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2021-09-07.19:20:32.340>created_at=<Date2021-02-10.09:19:35.501>labels= ['interpreter-core', '3.9', 'type-crash']
title='Dict creation in recursive function cause interpreter crashes.'updated_at=<Date2021-09-07.19:20:32.340>user='https://github.com/CharlesFengY'
In the following programs, dict is created in recursive calls. Then a core dump is reported by Python interpreter.
+++++++++++++++++++++++++++++++++++++++++++
def test_equal_operator_modifying_operand():
Activity
CharlesFengY commentedon Feb 10, 2021
In the following programs, dict is created in recursive calls. Then a core dump is reported by Python interpreter.
+++++++++++++++++++++++++++++++++++++++++++
def test_equal_operator_modifying_operand():
iritkatriel commentedon Sep 7, 2021
On 3.9 I reproduce the segfault.
On 3.11 on a mac I get
RecursionError: maximum recursion depth exceeded while calling a Python object
So it has been fixed in the meantime.