From 2c538bd5fe7c72ce8cf5e67ee86b28770f62c11b Mon Sep 17 00:00:00 2001 From: Dorian Pula Date: Thu, 24 Oct 2013 19:59:57 -0400 Subject: [PATCH] [Python 3]: Hack around __slots__ and properties conflict. --- paramiko/transport.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/paramiko/transport.py b/paramiko/transport.py index 94f38e6..a561120 100644 --- a/paramiko/transport.py +++ b/paramiko/transport.py @@ -83,7 +83,8 @@ class SecurityOptions (object): C{ValueError} will be raised. If you try to assign something besides a tuple to one of the fields, C{TypeError} will be raised. """ - __slots__ = [ 'ciphers', 'digests', 'key_types', 'kex', 'compression', '_transport' ] + # TODO: Come up a more elegant fix... + #__slots__ = [ 'ciphers', 'digests', 'key_types', 'kex', 'compression', '_transport' ] def __init__(self, transport): self._transport = transport