homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author CharlesFengY
Recipients CharlesFengY
Date 2021年02月10日.09:19:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1612948775.51.0.474463250225.issue43187@roundup.psfhosted.org>
In-reply-to
Content
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():
 class X():
 def __del__(DictTest):
 dict_b.clear()
 def __eq__(DictTest, other):
 dict_a.clear()
 return True
 def __hash__(DictTest):
 return 13
 dict_d = {X(): 0}
 class Y():
 def __eq__(DictTest, other):
 dict_d.clear()
 return True
 dict_d = {0: Y()}
 # dict_c = {0: set()}
 test_equal_operator_modifying_operand()
test_equal_operator_modifying_operand()
+++++++++++++++++++++++++++++++++++++++++
History
Date User Action Args
2021年02月10日 09:19:35CharlesFengYsetrecipients: + CharlesFengY
2021年02月10日 09:19:35CharlesFengYsetmessageid: <1612948775.51.0.474463250225.issue43187@roundup.psfhosted.org>
2021年02月10日 09:19:35CharlesFengYlinkissue43187 messages
2021年02月10日 09:19:35CharlesFengYcreate

AltStyle によって変換されたページ (->オリジナル) /