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 Camion
Recipients Camion
Date 2020-08-26.05:23:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1598419436.9.0.814986663177.issue41637@roundup.psfhosted.org>
In-reply-to
Content
The following code will obviously cause a memory leak, but this will not be detected and crash the interpreter:

    def inf():
      while True: yield 0

    def use(*parm):
      for i in parm: print(i)

and then

    use(*inf())

or 

    print(*int())

The reason of this test is that I wanted to check if ever python would be able to make lazy evaluation in parameter passing (It would be nice if it was but it is not the case). However, at least, I think this error should have been detected as well as an infinite recursion is, because it even has been able to crash and reboot a not so old (18) version of linux Mint.
History
Date User Action Args
2020-08-26 05:23:56Camionsetrecipients: + Camion
2020-08-26 05:23:56Camionsetmessageid: <1598419436.9.0.814986663177.issue41637@roundup.psfhosted.org>
2020-08-26 05:23:56Camionlinkissue41637 messages
2020-08-26 05:23:56Camioncreate