From a68abb6caad16e63cdb6cc22326bd1078215672e Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Fri, 7 Feb 2020 08:25:30 +0300 Subject: [PATCH] Explicit mention of copy and pickle friendliness --- README | 2 +- doc/features.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: -- 2.44.0