diff options
| author | mike bayer <mike_mp@zzzcomputing.com> | 2019-03-04 15:45:53 +0000 |
|---|---|---|
| committer | Gerrit Code Review <gerrit@bbpush.zzzcomputing.com> | 2019-03-04 15:45:53 +0000 |
| commit | f24659b72bfb04d30c10e8e6dcb8f86a224df276 (patch) | |
| tree | 298dd34cc8139ff7f1abee2ff6e1a8d5c7e8bf2d /doc | |
| parent | a690ec082451ca0636fb45a0d9773a240ae30373 (diff) | |
| parent | 9268c320bf6ea35696951875df518286dd79ad54 (diff) | |
| download | sqlalchemy-f24659b72bfb04d30c10e8e6dcb8f86a224df276.tar.gz | |
Merge "Add port comparison in __eq__() and __ne__() method to URL"
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/build/changelog/unreleased_12/4406.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/build/changelog/unreleased_12/4406.rst b/doc/build/changelog/unreleased_12/4406.rst new file mode 100644 index 000000000..aee7e5d62 --- /dev/null +++ b/doc/build/changelog/unreleased_12/4406.rst @@ -0,0 +1,11 @@ +.. change:: + :tags: bug, engine + :tickets: 4406 + + Comparing two objects of :class:`.URL` using ``__eq__()`` did not take port + number into consideration, two objects differing only by port number were + considered equal. Port comparison is now added in ``__eq__()`` method of + :class:`.URL`, objects differing by port number are now not equal. + Additionally, ``__ne__()`` was not implemented for :class:`.URL` which + caused unexpected result when ``!=`` was used in Python2, since there are no + implied relationships among the comparison operators in Python2. |
