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 vstinner
Recipients Mark.Shannon, christian.heimes, jdemeyer, lukasz.langa, petr.viktorin, vstinner
Date 2019-09-02.11:40:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1567424433.19.0.0727228754566.issue38006@roundup.psfhosted.org>
In-reply-to
Content
> I don't understand why/how remove() gets a closure.

Ok, I found the reason and I wrote PR 15641 to fix it.


Previous fix of WeakValueDictionary remove() function:

commit 9cd7e17640a49635d1c1f8c2989578a8fc2c1de6
Author: Łukasz Langa <lukasz@langa.pl>
Date:   Fri Feb 10 00:14:55 2017 -0800

    Fix #29519: weakref spewing exceptions during interp finalization
History
Date User Action Args
2019-09-02 11:40:33vstinnersetrecipients: + vstinner, christian.heimes, petr.viktorin, lukasz.langa, Mark.Shannon, jdemeyer
2019-09-02 11:40:33vstinnersetmessageid: <1567424433.19.0.0727228754566.issue38006@roundup.psfhosted.org>
2019-09-02 11:40:33vstinnerlinkissue38006 messages
2019-09-02 11:40:32vstinnercreate