I have detected a memory leak in Python if I use lambda function inside a class. Here\'s the code to reproduce the leak:
im