]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Rename Core expression isnot, not_in_
authorjonathan vanasco <jonathan@2xlp.com>
Tue, 1 Sep 2020 20:56:53 +0000 (16:56 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 14 Sep 2020 15:34:49 +0000 (11:34 -0400)
commitfe413084c53642b0de0728afbd78f6856d359bef
tree37be502c35696b0a3e921755bd77da6dfb4fa7ea
parent4d17fe4063adef50c1d529993e0b047f503940e2
Rename Core expression isnot, not_in_

Several operators are renamed to achieve more consistent naming across
SQLAlchemy.

The operator changes are:

* `isnot` is now `is_not`
* `not_in_` is now `not_in`

Because these are core operators, the internal migration strategy for this
change is to support legacy terms for an extended period of time -- if not
indefinitely -- but update all documentation, tutorials, and internal usage
to the new terms.  The new terms are used to define the functions, and
the legacy terms have been deprecated into aliases of the new terms.

Fixes: #5429
Change-Id: Ia1e66e7a50ac35d3f6260d8bf6ba3ce8087cbad2
doc/build/changelog/unreleased_14/5429.rst [new file with mode: 0644]
doc/build/core/tutorial.rst
doc/build/orm/tutorial.rst
lib/sqlalchemy/orm/evaluator.py
lib/sqlalchemy/sql/compiler.py
lib/sqlalchemy/sql/default_comparator.py
lib/sqlalchemy/sql/operators.py
lib/sqlalchemy/testing/suite/test_select.py
test/orm/test_evaluator.py
test/sql/test_deprecations.py
test/sql/test_operators.py