From b7052c5f520f272cf8217cb23fca2ddd1c6fcec4 Mon Sep 17 00:00:00 2001 From: Jeff Forcier Date: Thu, 12 Jan 2023 21:48:37 -0500 Subject: No more PKey.__cmp__ --- sites/www/changelog.rst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sites') diff --git a/sites/www/changelog.rst b/sites/www/changelog.rst index 63cb6d60..5e3af1a3 100644 --- a/sites/www/changelog.rst +++ b/sites/www/changelog.rst @@ -2,6 +2,11 @@ Changelog ========= +- :support:`-` ``PKey.__cmp__`` has been removed. Ordering-oriented comparison + of key files is unlikely to have ever made sense (the old implementation + attempted to order by the hashes of the key material) and so we have not + bothered setting up ``__lt__`` and friends at this time. The class continues + to have its original ``__eq__`` untouched. - :bug:`- major` A handful of lower-level classes (notably `paramiko.message.Message` and `paramiko.pkey.PKey`) previously returned `bytes` objects from their implementation of ``__str__``, even under Python -- cgit v1.2.1