]> 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:37:41 +0000 (14:37 -0500)
commitf7a7af70c4f6f07011fa2d521fb1560917896427
tree69c7c601d7e3b69f0b7563ca3a335272f030c1b8
parent60e7034a7423955cd89d5624f8769d3804ca6d82
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
doc/build/changelog/unreleased_13/5050.rst [new file with mode: 0644]
lib/sqlalchemy/util/_collections.py
test/base/test_utils.py