]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Discontinue dynamic __visit_name__
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 28 Feb 2020 19:56:25 +0000 (14:56 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 2 Mar 2020 00:32:48 +0000 (19:32 -0500)
commitca2e4f385802799c2584782a8528e19a9e5513bc
tree0846dd8618b2bc7263cd8c0a309801a94d06f92a
parent132006ba8a714199d4f761b0e66fc2e516e46ba3
Discontinue dynamic __visit_name__

Removed very antiquated logic that checks if __visit_name__
is a property.  There's no need for this as the compiler can handle
switching between implementations.  Convert _compile_dispatch()
to be fully inlined.

Change-Id: Ic0c7247c2d7dfed93a27f09250a8ed6352370764
lib/sqlalchemy/sql/compiler.py
lib/sqlalchemy/sql/schema.py
lib/sqlalchemy/sql/visitors.py
test/profiles.txt
test/sql/test_compiler.py