[Python-Dev] recursive closure (original) (raw)

Chris Angelico rosuav at gmail.com
Thu Sep 11 05:38:10 CEST 2014


On Thu, Sep 11, 2014 at 12:55 PM, Li Tianqing <jazeltq at 163.com> wrote:

Hello, Can someone explain me why gc(CPython) can not collect recursive closure's cycle reference? There is no del here, why gc can not collect?

Can you start by explaining what's not getting collected and what is? Where's the cycle you're looking at?

Also, this thread would do better on python-list at python.org rather than python-dev.

ChrisA



More information about the Python-Dev mailing list