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 JelleZijlstra
Recipients AlexWaygood, DiddiLeija, JelleZijlstra, Spencer Brown, gvanrossum, kj, rhettinger, ronaldoussoren
Date 2022-02-21.23:03:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1645484623.67.0.114392288821.issue45100@roundup.psfhosted.org>
In-reply-to
Content
I'm OK with not fully supporting overloads created in nested functions; that's a pretty marginal use case. But it's true that my proposed implementation would create a memory leak if someone does do that. I don't immediately see a way to fix that with weakrefs. Maybe we need to put something in the defining namespace, as Raymond suggested.
History
Date User Action Args
2022-02-21 23:03:43JelleZijlstrasetrecipients: + JelleZijlstra, gvanrossum, rhettinger, ronaldoussoren, Spencer Brown, kj, AlexWaygood, DiddiLeija
2022-02-21 23:03:43JelleZijlstrasetmessageid: <1645484623.67.0.114392288821.issue45100@roundup.psfhosted.org>
2022-02-21 23:03:43JelleZijlstralinkissue45100 messages
2022-02-21 23:03:43JelleZijlstracreate