]> Cypherpunks.ru repositories - pyderasn.git/blobdiff - doc/features.rst
3.6 compatibility
[pyderasn.git] / doc / features.rst
index a0a75fa758c66c901f454e99138364cbbe31ea97..fa1f3d6a90930bedcd9ecb457f151965d4f95929 100644 (file)
@@ -8,7 +8,7 @@ Features
 * Size :ref:`constraints <bounds>` checking
 * Working with sequences as high level data objects with ability to
   (un)marshall them
-* Python 2.7/3.5 compatibility
+* Python 2.7/3.5/3.6 compatibility
 
 Why yet another library? `pyasn1 <https://github.com/etingof/pyasn1>`__
 had all of this a long time ago. PyDERASN resembles it in many ways. In
@@ -45,7 +45,7 @@ There are drawbacks:
 * PyDERASN does **not** have object recreation capable ``repr``-s::
 
     pyderasn>>> repr(algo_id)
-    AlgorithmIdentifier SEQUENCE[OBJECT IDENTIFIER 1.3.14.3.2.26, [UNIV 5] ANY 0500 OPTIONAL]
+    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'))