]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Mention the fix in the issue #8675 changelog 8885/head
authorLele Gaifax <lele@metapensiero.it>
Sun, 27 Nov 2022 15:06:40 +0000 (16:06 +0100)
committerLele Gaifax <lele@metapensiero.it>
Sun, 27 Nov 2022 15:06:40 +0000 (16:06 +0100)
doc/build/changelog/unreleased_20/8765.rst

index a210fb348676e9cf9e9b2373ae02cf4ef4a2890f..1f7fe144b69f68d8a2fac4c9691157f039aeef85 100644 (file)
@@ -6,5 +6,11 @@
     ``adjacent_to()``, ``difference()``, ``union()``, etc., were added to the
     PG-specific range objects, bringing them in par with the standard
     operators implemented by the underlying
-    :attr:`_postgresql.AbstractRange.comparator_factory`. Pull request
-    courtesy Lele Gaifax.
+    :attr:`_postgresql.AbstractRange.comparator_factory`.
+
+    In addition, the ``__bool__()_`` method of the class has been corrected to
+    be consistent with the common Python *containers* behavior as well as how
+    other popular PostgreSQL drivers do: it now tells whether the range
+    instance is *not* empty, rather than the other way around.
+
+    Pull request courtesy Lele Gaifax.