X-Git-Url: http://www.git.cypherpunks.ru/?p=pyderasn.git;a=blobdiff_plain;f=pyderasn.py;h=3eb10715ed1400a0bd3c55dccd71419a46e7c499;hp=3c84666a583ac4a85e5fde9119a891bf7680ba87;hb=HEAD;hpb=e99d654183cf4fc7506893db16e11adaa56c75ce diff --git a/pyderasn.py b/pyderasn.py index 3c84666..54242a3 100755 --- a/pyderasn.py +++ b/pyderasn.py @@ -4,7 +4,7 @@ # pylint: disable=line-too-long,superfluous-parens,protected-access,too-many-lines # pylint: disable=too-many-return-statements,too-many-branches,too-many-statements # PyDERASN -- Python ASN.1 DER/CER/BER codec with abstract structures -# Copyright (C) 2017-2022 Sergey Matveev +# Copyright (C) 2017-2024 Sergey Matveev # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as @@ -1196,7 +1196,7 @@ except ImportError: # pragma: no cover tzUTC = "missing" -__version__ = "9.2" +__version__ = "9.3" __all__ = ( "agg_octet_string", @@ -4763,7 +4763,7 @@ class CommonString(OctetString): return str(self._value) def memoryview(self): - raise NotImplementedError() + raise ValueError("CommonString does not support .memoryview()") def __repr__(self): return pp_console_row(next(self.pps()))