* Added support for Python 3.13 and updated GitHub Actions
* Removed Python 2 support and related code
* Improved error handling and consistency
* Runtime deprecation of `tagMap` and `typeMap` aliases
* Fixed duplicated and missing declarations
* Cleaned documentation and comments
* Removed bdist_wheel universal flag from setup.cfg
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=94
- update to 0.5.1:
* Added support for PyPy 3.10 and Python 3.12
* Updated RTD configuration to include a dummy index.rst
redirecting to contents.html, ensuring compatibility with
third-party documentation and search indexes.
* Fixed the API breakage wih decoder.decode(substrateFun=...).
* A substrateFun passed to ``decoder.decode()`` can now be
either v0.4 Non-Streaming or v0.5 Streaming.
pyasn1 will detect and handle both cases transparently.
* A substrateFun passed to one of the new streaming decoders is
* still expected to be v0.5 Streaming only.
* Debug logging refactored for more efficiency when disabled and for more
functionality when in use. Specifically, the global LOG object can easily
be used from any function/method, not just from codec main loop as it used
* More debug logging added to BER family of codecs to ease encoding problems
- Constructed types now verify their consistency by invoking
components rather than isSuperTypeOf() as it used to be. Constriants check
- The abs(Integer()) & abs(Real()) operation now returns respective pyasn1
format for the type (e.g. BOOLEAN is always PRIMITIVE, SET is always
* Fixed a bug/typo at Boolean CER encoder
OBS-URL: https://build.opensuse.org/request/show/1129186
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyasn1?expand=0&rev=44
* Added support for PyPy 3.10 and Python 3.12
* Updated RTD configuration to include a dummy index.rst
redirecting to contents.html, ensuring compatibility with
third-party documentation and search indexes.
* Fixed the API breakage wih decoder.decode(substrateFun=...).
* A substrateFun passed to ``decoder.decode()`` can now be
either v0.4 Non-Streaming or v0.5 Streaming.
pyasn1 will detect and handle both cases transparently.
* A substrateFun passed to one of the new streaming decoders is
* still expected to be v0.5 Streaming only.
* Debug logging refactored for more efficiency when disabled and for more
functionality when in use. Specifically, the global LOG object can easily
be used from any function/method, not just from codec main loop as it used
* More debug logging added to BER family of codecs to ease encoding problems
- Constructed types now verify their consistency by invoking
components rather than isSuperTypeOf() as it used to be. Constriants check
- The abs(Integer()) & abs(Real()) operation now returns respective pyasn1
format for the type (e.g. BOOLEAN is always PRIMITIVE, SET is always
* Fixed a bug/typo at Boolean CER encoder
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=90
- update to 0.5.0:
* Change `RealEncoder.supportIndefLenMode` type to a boolean
* Fix CI for py39 test environment
* Replace all snmplabs.com links
* Use correct SPDX identifier for the license
* Re-add ``tagMap`` and ``typeMap`` module level attributes to all
encoder and decoder modules. They are aliases for ``TAG_MAP`` and
``TYPE_MAP``
* Restore API for passing for ``tagMap`` and ``typeMap`` arguments
to ``Encoder`` and ``Decoder`` classes by name and position,
* Re-add ``tagMap`` and ``typeMap`` module level attributes to all
encoder and decoder modules. They are aliases for ``TAG_MAP`` and
``TYPE_MAP``
* Restore API for passing for ``tagMap`` and ``typeMap`` arguments
to ``Encoder`` and ``Decoder`` classes by name and position,
* Make BER/CER/DER decoders streaming and suspendible
OBS-URL: https://build.opensuse.org/request/show/1084856
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyasn1?expand=0&rev=43
* Change `RealEncoder.supportIndefLenMode` type to a boolean
* Fix CI for py39 test environment
* Replace all snmplabs.com links
* Use correct SPDX identifier for the license
* Re-add ``tagMap`` and ``typeMap`` module level attributes to all
encoder and decoder modules. They are aliases for ``TAG_MAP`` and
``TYPE_MAP``
* Restore API for passing for ``tagMap`` and ``typeMap`` arguments
to ``Encoder`` and ``Decoder`` classes by name and position,
* Re-add ``tagMap`` and ``typeMap`` module level attributes to all
encoder and decoder modules. They are aliases for ``TAG_MAP`` and
``TYPE_MAP``
* Restore API for passing for ``tagMap`` and ``typeMap`` arguments
to ``Encoder`` and ``Decoder`` classes by name and position,
* Make BER/CER/DER decoders streaming and suspendible
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=87
- updated to upstream release 0.3.5
- Codecs signatures unified and pass the options kwargs through the
call chain
- Explicit tag encoding optimized to avoid unnecessary copying
- End-of-octets sentinel encoding optimized
- Refactored ASN.1 codecs properties to silently enforce proper
length and chunk size encoding modes
- Fixed DER encoder to always produce primitive encoding
- Fixed crash at SequenceOf native decoder
- Fixed Real.prettyPrint() to fail gracefully on overflow
- Fixed a couple of crashes when debug mode is enabled
OBS-URL: https://build.opensuse.org/request/show/527254
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyasn1?expand=0&rev=31
call chain
- Explicit tag encoding optimized to avoid unnecessary copying
- End-of-octets sentinel encoding optimized
- Refactored ASN.1 codecs properties to silently enforce proper
length and chunk size encoding modes
- Fixed DER encoder to always produce primitive encoding
- Fixed crash at SequenceOf native decoder
- Fixed Real.prettyPrint() to fail gracefully on overflow
- Fixed a couple of crashes when debug mode is enabled
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=63
- updated to upstream release 0.3.4
Revision 0.3.4, released 07-09-2017
-----------------------------------
- Fixed Native encoder to handle SEQUENCE/SET objects without
the componentType property
- Added missing component-less SEQUENCE/SET objects dict duck-typing support
- Fixed unnecessary duplicate tags detection at NamesType.tagMap
- Fixed crash at SEQUENCE and SEQUENCE OF CER encoder when running
in schemaless mode
- Fixed Character types instantiation from OctetString type -- double
unicode decoding may have scrambled the data
Revision 0.3.3, released 27-08-2017
-----------------------------------
- Improved ASN.1 types instantiation performance
- Improved BER/CER/DER decoder performance by not unconditionally casting
substrate into str/bytes.
- Fixed exponential index size growth bug when building ambiguous
NamedTypes tree
- Fixed constructed types decoding failure at BER codec if running
in schema-less mode
- Fixed crash on prettyPrint'ing a SEQUENCE with no defined components
- Fixed SetOf ordering at CER/DER encoder
- Fixed crash on conditional binascii module import
- Fix to TagSet hash value build
OBS-URL: https://build.opensuse.org/request/show/521965
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=60