]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Ensure descendants of mixins don't become cacheable
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 22 Feb 2020 18:11:20 +0000 (13:11 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 22 Feb 2020 18:11:20 +0000 (13:11 -0500)
commit3cb614009ee87a115ec7230949c031402efb17c1
treef892ada52a873dd6a7214edea517ecaef10f3fa9
parentca16c53651f819e9587ed29d7d1d7d937e7f25ce
Ensure descendants of mixins don't become cacheable

HasPrefix / HasSuffixes / SupportsCloneAnnotations exported
a _traverse_internals attribute that does not represent a
complete traversal, meaning non-traversible subclasses would
seem traversible.  rename these attributes so that this
does not occur.  DML is currently not traversible (will be soon).

Change-Id: I2605e61c8c3d49965335e66e09f4aeedc5e73bd3
lib/sqlalchemy/sql/annotation.py
lib/sqlalchemy/sql/selectable.py
test/sql/test_compare.py