]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Fix reference leak in compiled cache
authorOlivier Grisel <olivier.grisel@ensta.org>
Wed, 25 Apr 2018 13:54:00 +0000 (09:54 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 25 Apr 2018 19:16:06 +0000 (15:16 -0400)
commit30b02003a70f37aa83e20de6229afe2a3600b648
tree7b103601ff3bd9fce7f381aeee4621d6ae28fa87
parenta81468c45f317326032afd075e08ae5640b03ad8
Fix reference leak in compiled cache

Fixed a reference leak issue where the values of the parameter dictionary
used in a statement execution would remain referenced by the "compiled
cache", as a result of storing the key view used by Python 3 dictionary
keys().  Pull request courtesy Olivier Grisel.

Change-Id: Icfb0f38111a165780f6dd3e4e3382a03df79ce26
Pull-request: https://github.com/zzzeek/sqlalchemy/pull/441
doc/build/changelog/unreleased_12/pr_441.rst [new file with mode: 0644]
lib/sqlalchemy/engine/base.py
test/engine/test_execute.py