From 5670cdb920692a62f77b7b6ea312784033de83d9 Mon Sep 17 00:00:00 2001 From: Lele Gaifax Date: Sun, 27 Nov 2022 16:06:40 +0100 Subject: [PATCH] Mention the fix in the issue #8675 changelog --- doc/build/changelog/unreleased_20/8765.rst | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/doc/build/changelog/unreleased_20/8765.rst b/doc/build/changelog/unreleased_20/8765.rst index a210fb3486..1f7fe144b6 100644 --- a/doc/build/changelog/unreleased_20/8765.rst +++ b/doc/build/changelog/unreleased_20/8765.rst @@ -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. -- 2.47.3