From: Sergey Matveev Date: Wed, 12 Sep 2018 20:31:20 +0000 (+0300) Subject: pyasn1 does not have eval-capable reprs anymore too X-Git-Tag: 4.2~6 X-Git-Url: http://www.git.cypherpunks.ru/?p=pyderasn.git;a=commitdiff_plain;h=1968949f0e32258edfc853e3ebe11a2f12ae72f4 pyasn1 does not have eval-capable reprs anymore too --- diff --git a/doc/features.rst b/doc/features.rst index 9da0659..9913ea3 100644 --- a/doc/features.rst +++ b/doc/features.rst @@ -42,14 +42,6 @@ practice it should be relatively easy to convert ``pyasn1``'s code to There are drawbacks: * No old Python versions support -* PyDERASN does **not** have object recreation capable ``repr``-s:: - - pyderasn>>> repr(algo_id) - AlgorithmIdentifier SEQUENCE[algorithm: OBJECT IDENTIFIER 1.3.14.3.2.26; parameters: [UNIV 5] ANY 0500 OPTIONAL] - - pyasn1>>> repr(algo_id) - AlgorithmIdentifier().setComponents(ObjectIdentifier('1.3.14.3.2.26'), Any(hexValue='0500')) - * Strings are not validated in any way, except just trying to be decoded in ``ascii``, ``iso-8859-1``, ``utf-8/16/32`` correspondingly * No REAL, RELATIVE OID, EXTERNAL, INSTANCE OF, EMBEDDED PDV, CHARACTER STRING