From: Sergey Matveev Date: Fri, 7 Feb 2020 05:25:30 +0000 (+0300) Subject: Explicit mention of copy and pickle friendliness X-Git-Tag: 6.1~16 X-Git-Url: http://www.git.cypherpunks.ru/?p=pyderasn.git;a=commitdiff_plain;h=a68abb6caad16e63cdb6cc22326bd1078215672e Explicit mention of copy and pickle friendliness --- diff --git a/README b/README index 6768466..6d39791 100644 --- a/README +++ b/README @@ -15,7 +15,7 @@ PyDERASN -- strict and fast ASN.1 DER/BER library for Python * Ability to know exact decoded objects offset and lengths in the binary * Pretty printer and command-line decoder, that could conveniently replace utilities like either dumpasn1 or openssl asn1parse -* __slots__ friendliness +* __slots__, copy.copy(), pickle friendliness pyderasn is free software: see the file COPYING.LESSER for copying conditions. diff --git a/doc/features.rst b/doc/features.rst index 03c9280..19fb10b 100644 --- a/doc/features.rst +++ b/doc/features.rst @@ -47,7 +47,7 @@ Also there is `asn1crypto `__. automatically set required tags) * Descriptive errors, like ``pyderasn.DecodeError: UTCTime (tbsCertificate:validity:notAfter:utcTime) (at 328) invalid UTCTime format`` -* ``__slots__`` friendliness +* ``__slots__``, ``copy.copy()``, ``pickle`` friendliness * Could be significantly faster and have lower memory usage For example parsing of CACert.org's CRL (8.48 MiB) on FreeBSD 12.0 amd64, Intel Core i5-6200U 2.3 GHz machine, Python 3.5.5/2.7.15: