14
0
forked from pool/python-pyasn1

Accepting request 545767 from home:apersaud:branches:devel:languages:python

update to latest version

OBS-URL: https://build.opensuse.org/request/show/545767
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=69
This commit is contained in:
Michael Ströder
2017-11-26 22:36:01 +00:00
committed by Git OBS Bridge
parent f85ecb5c79
commit 1e08ecb59d
4 changed files with 52 additions and 8 deletions

View File

@@ -1,3 +1,48 @@
-------------------------------------------------------------------
Sun Nov 26 21:22:26 UTC 2017 - arun@gmx.de
- update to version 0.4.2:
* Fixed explicit tag splitting in chunked encoding mode at
OctetString and BitString encoders
- changes from version 0.4.1:
* ANY DEFINED BY clause support implemented
* Encoders refactored to take either a value (as ASN.1 object) or a
Python value plus ASN.1 schema
* BitString decoder optimised for better performance when running on
constructed encoding
* Constructed types' .getComponentBy*() methods accept the `default`
parameter to return instead if schema object is to be returned
* Constructed types' .getComponentBy*() methods accept the
`instantiate` parameter to disable automatic inner component
instantiation
* The ASN.1 types' `__repr__` implementation reworked for better
readability at the cost of not being `eval`-compliant
* Most ASN.1 types' `__str__` magic methods (except for OctetString
and character types) reworked to call `.prettyPrint()` rather than
`.prettyPrint` calling `__str__` as it was before. The intention
is to eventually deprecate `.prettyPrint()` in favor of `str()`.
The other related change is that `str()` of enumerations and
boolean types will return string label instead of number.
* Fixed Choice.clear() to fully reset internal state of the object
* Sphinx documentation rearranged, simplified and reworded
* The `isValue` singleton is now the only way to indicate ASN.1
schema as opposed to ASN.1 schema instance. The legacy `None`
initializer support has been removed.
* Changed `Null` object initialization behaviour: previous default
value (`''`) is not set anymore. Thus `Null()` call produces a
ASN.1 schema object, while `Null('')` - value object.
* Migrated all docs and references from SourceForge
* Imports PEP8'ed
* Fixed ASN.1 encoder not to omit empty substrate produced for inner
component if the inner component belongs to the simple class (as
opposed to constructed class)
* Fixed CER/DER encoders to respect tagged CHOICE when ordering SET
components
* Fixed ASN.1 types not to interfere with the Pickle protocol
* Fixed Sequence/SequenceOf types decoding heuristics in schema-less
decoding mode
-------------------------------------------------------------------
Thu Oct 12 07:46:21 UTC 2017 - michael@stroeder.com