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 <>
> 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 <>
Date:   Fri Feb 10 00:14:55 2017 -0800

    Fix #29519: weakref spewing exceptions during interp finalization
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: <>
2019-09-02 11:40:33vstinnerlinkissue38006 messages
2019-09-02 11:40:32vstinnercreate