diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-09-09 16:24:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-09 16:24:16 (GMT) |
commit | 78d15faf6c522619098e94be3e7f6d88a9e61123 (patch) | |
tree | a7d4dc8890f16df333a3c17b13158ed15fd7dfa3 /Python/fileutils.c | |
parent | b6ef8f2beb90678a4a54218d6169040afbbf9fe1 (diff) | |
download | cpython-78d15faf6c522619098e94be3e7f6d88a9e61123.zip cpython-78d15faf6c522619098e94be3e7f6d88a9e61123.tar.gz cpython-78d15faf6c522619098e94be3e7f6d88a9e61123.tar.bz2 |
bpo-38006: Avoid closure in weakref.WeakValueDictionary (GH-15641)
weakref.WeakValueDictionary defines a local remove() function used as
callback for weak references. This function was created with a
closure. Modify the implementation to avoid the closure.
(cherry picked from commit a2af05a0d3f0da06b8d432f52efa3ecf29038532)
Co-authored-by: Victor Stinner <vstinner@redhat.com>
Diffstat (limited to 'Python/fileutils.c')
0 files changed, 0 insertions, 0 deletions