]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Fix WeakSequence circular reference
authorCarson Ip <carsonip715@gmail.com>
Fri, 27 Dec 2019 17:05:30 +0000 (12:05 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 27 Dec 2019 19:38:25 +0000 (14:38 -0500)
commit32e67dfff6332c6319b52e4ce344ca67f3b9e5fd
treef68d0c606dcfda5c71b23c49550a53edfb9f0a80
parentba9b517e6f6a6602df43256a8dda616dd364784b
Fix WeakSequence circular reference

Fixed a reference cycle which could impact the GC behavior of the
:class:`.WeakSequence` object, currently used within one place in certain
mapper configurations.  The issue only affects configuration-time
structures. Pull request courtesy Carson Ip.

Fixes: #5050
Closes: #5051
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/5051
Pull-request-sha: db672f45f4f139722edd2dcc6b0c19892725c9de

Change-Id: I72673a33e655c44b68283ec1a2d7358b904e90ae
(cherry picked from commit f7a7af70c4f6f07011fa2d521fb1560917896427)
doc/build/changelog/unreleased_13/5050.rst [new file with mode: 0644]
lib/sqlalchemy/util/_collections.py
test/base/test_utils.py