Thierry Excoffier <thierry.excoff...@gmail.com> added the comment:

I assumed that the standard python library does not create circular references, 
so the GC can be disabled safely in real time application.

Each time 'literal_eval' is called, it creates a circular reference and so a 
memory leak.

The source of this leak is the recursive closure.

----------
nosy: +thierry.excoffier

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

Reply via email to