New submission from pavlos kallis <pakal...@gmail.com>:

Running the script, memory starts to leak and garbage count increases.

Running the same script in python 2.7 does not cause the memory leak.

----------
components: C API
files: memory_leak.py
messages: 366495
nosy: pavlos kallis
priority: normal
severity: normal
status: open
title: Memory leak when defining a new class inside a loop
type: resource usage
versions: Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9
Added file: https://bugs.python.org/file49062/memory_leak.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue40292>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to