Hello community,

here is the log from the commit of package python-pyasn1 for openSUSE:Factory 
checked in at 2017-08-01 09:24:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyasn1 (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyasn1.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyasn1"

Tue Aug  1 09:24:43 2017 rev:28 rq:513051 version:0.3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyasn1/python-pyasn1.changes      
2017-07-04 11:56:39.480029966 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyasn1.new/python-pyasn1.changes 
2017-08-01 09:24:48.780485869 +0200
@@ -1,0 +2,66 @@
+Sat Jul 29 21:01:20 UTC 2017 - [email protected]
+
+- updated to upstream release 0.3.1
+- do not ship doc/source/
+
+Revision 0.3.1, released 26-07-2017
+-----------------------------------
+
+- ASN.1 types __init__(), .clone() and .subtype() signatures
+  refactored into keyword arguments to simplify their signatures.
+- ASN.1 types initialization refactored to minimize the use of
+  relatively expensive isNoValue() call
+- Lazily pre-populate list of values of Sequence/Set/Choice types
+- NamedTypes comparison made more efficient
+- More efficient constraints computation and code clean up
+- The __getitem__() implementation of some ASN.1 types & tag object
+  refactored for better performance
+- BER/CER/DER value encoders refactored to produce either tuple of
+  bytes or octet-stream depending on what is more optimal
+- Reduced the frequency of expensive isinstance() calls
+- Tag-related classes optimized, refactored into properties and
+  documented.
+- The NamedValues implementation refactored to mimic Python dict, its use
+  in ASN.1 types refactored into properties and better documented.
+  WARNING: this change introduces a deviation from original API.
+- NamedType family of classes overhauled, optimized and documented.
+- The `componentType` attribute of constructed ASN.1 types turned
+  read-only on instances.
+- Sequence/Set DER/CER/DER decoder optimized to skip the case of
+  reordered components handling when not necessary.
+- Tags and constraints-related getter methods refactored into read-only
+  instance attributes.
+- The .hasValue() method refactored into .isValue property. All ASN.1
+  objects now support them, not just scalars.
+- The Real.{isInfinity, isPlusInfinity, isMinusInfinity} methods
+  refactored into properties and renamed into IsInf, IsPlusInf and isMinusInf
+- The end-of-octets type refactored to ensure it is a singleton. Codecs
+  changed to rely on that for better performance.
+- Codecs lookup made more efficient at BER/CER/DER decoder main loop by
+  assigning `typeId` to every ASN.1 type, not just ambiguous ones.
+- The .getComponent*() methods of constructed ASN.1 types changed
+  to lazily instantiate underlying type rather than return `None`.
+  This should simplify its API as initialization like `X[0][1] = 2` becomes
+  possible.
+  WARNING: this change introduces a deviation from the original API.
+- The .setComponent*() methods of SetOf/SequenceOf types changed not
+  to allow uninitialized "holes" inside the sequences of their components.
+  They now behave similarly to Python lists.
+  WARNING: this change introduces a deviation from the original API.
+- Default and optional components en/decoding of Constructed type
+  refactored towards better efficiency and more control.
+- OctetsString and Any decoder optimized to avoid creating ASN.1
+  objects for chunks of substrate. Instead they now join substrate
+  chunks together and create ASN.1 object from it just once.
+- The GeneralizedTime and UTCTime types now support to/from Python
+  datetime object conversion.
+- Unit tests added for the `compat` sub-package.
+- Fixed BitString named bits initialization bug.
+- Fixed non-functional tag cache (when running Python 2) at DER decoder.
+- Fixed chunked encoding restriction on DER encoder.
+- Fixed SET components ordering at DER encoder.
+- Fixed BIT STRING & OCTET STRING encoding to be always non-chunked (e.g.
+  primitive) at DER encoder
+- Fixed `compat.integer.from_bytes()` behaviour on empty input.
+
+-------------------------------------------------------------------

Old:
----
  pyasn1-0.2.3.tar.gz

New:
----
  pyasn1-0.3.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pyasn1.spec ++++++
--- /var/tmp/diff_new_pack.ZmJGDD/_old  2017-08-01 09:24:49.304412032 +0200
+++ /var/tmp/diff_new_pack.ZmJGDD/_new  2017-08-01 09:24:49.304412032 +0200
@@ -20,7 +20,7 @@
 %define oldpython python
 Name:           python-pyasn1
 %global modname pyasn1
-Version:        0.2.3
+Version:        0.3.1
 Release:        0
 Summary:        ASN.1 types and codecs
 License:        BSD-2-Clause
@@ -32,7 +32,7 @@
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 %ifpython2
-Obsoletes:      %{oldpython}-asn1 < 0.1.2
+Obsoletes:      %{oldpython}-asn1 < 0.2.3
 Provides:       %{oldpython}-asn1 = %{version}
 %endif
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -61,7 +61,7 @@
 
 %files %python_files
 %defattr(-,root,root,-)
-%doc CHANGES.rst LICENSE.rst README.md THANKS.txt TODO.rst doc
+%doc CHANGES.rst LICENSE.rst README.md TODO.rst
 %{python_sitelib}/*
 
 %changelog

++++++ pyasn1-0.2.3.tar.gz -> pyasn1-0.3.1.tar.gz ++++++
++++ 8936 lines of diff (skipped)


Reply via email to