]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Make the GenericFunction registry fully case insensitive
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 29 Apr 2019 21:31:12 +0000 (17:31 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 30 Apr 2019 18:01:52 +0000 (14:01 -0400)
commitae14861a3197513db5f5a4e3991243482053a46c
tree9d6544fe694e3ffe2304013d43f9b17c6a1b99ea
parenta10a4ea1248902349d789de7f5470bb8e437a584
Make the GenericFunction registry fully case insensitive

Registered function names based on :class:`.GenericFunction` are now
retrieved in a case-insensitive fashion in all cases, removing the
deprecation logic from 1.3 which temporarily allowed multiple
:class:`.GenericFunction` objects to exist with differing cases.   A
:class:`.GenericFunction` that replaces another on the same name whether or
not it's case sensitive emits a warning before replacing the object.

Fixes: #4649
Change-Id: I265ae19833132db07ed5b5ae40c4d24f659b1ab3
doc/build/changelog/unreleased_14/4649.rst [new file with mode: 0644]
lib/sqlalchemy/sql/functions.py
test/sql/test_deprecations.py
test/sql/test_functions.py