[Python 3]: Hack around __slots__ and properties conflict.

This commit is contained in:
Dorian 2013-10-24 19:59:57 -04:00
parent 5a9fc81ad9
commit 2c538bd5fe
1 changed files with 2 additions and 1 deletions

View File

@ -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