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 peterdemin
Recipients peterdemin
Date 2018-03-22.13:36:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1521725801.92.0.467229070634.issue33120@psf.upfronthosting.co.za>
In-reply-to
Content
The following module will eat all available RAM if executed:

import inspect
import unittest.mock
print(inspect.unwrap(unittest.mock.call))

inspect.unwrap has loop protection against functions that wrap themselves, but unittest.mock.call creates new object on demand.
History
Date User Action Args
2018-03-22 13:36:41peterdeminsetrecipients: + peterdemin
2018-03-22 13:36:41peterdeminsetmessageid: <1521725801.92.0.467229070634.issue33120@psf.upfronthosting.co.za>
2018-03-22 13:36:41peterdeminlinkissue33120 messages
2018-03-22 13:36:41peterdemincreate