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:48:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1612950537.99.0.387983574304.issue43190@roundup.psfhosted.org>
In-reply-to
Content
In the following program, we call check_free_after_iterating( ) twice, in the second time, we recursively call function test_free_after_iterating(). Python interpreter crashes.
+++++++++++++++++++++++++++++++++++++++++++
import unittest
import test.support

class UnicodeTest(unittest.TestCase):
	pass

def test_free_after_iterating():
    ut = UnicodeTest()
    test.support.check_free_after_iterating(ut, iter, str)
    test.support.check_free_after_iterating(str, test_free_after_iterating(), str)

test_free_after_iterating()
+++++++++++++++++++++++++++++++++++++++++

System Info: Ubuntu 16.04
Python Version:  Python 3.9.1
History
Date User Action Args
2021-02-10 09:48:58CharlesFengYsetrecipients: + CharlesFengY
2021-02-10 09:48:57CharlesFengYsetmessageid: <1612950537.99.0.387983574304.issue43190@roundup.psfhosted.org>
2021-02-10 09:48:57CharlesFengYlinkissue43190 messages
2021-02-10 09:48:57CharlesFengYcreate