22a52e55eb- Update to 0.6.1 * 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
devel
Markéta Machová2024-10-07 14:43:40 +00:00
dc819a085eAccepting request 1164372 from devel:languages:pythonAna Guerrero2024-04-04 20:24:30 +00:00
b132c06173- update to 0.6.0: * Added support for previously missing RELATIVE-OID construct * Updated link to Layman's Guide Now it provides a link to links to a formatted PDF version of the paper, at a stable domain (researchgate), using https * Removed support for EOL Python 2.7, 3.6, 3.7Dirk Mueller2024-04-03 14:06:05 +00:00
2511bde28cAccepting request 1129186 from devel:languages:pythonAna Guerrero2023-11-28 21:18:36 +00:00
b947e510cb- 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 encoderDirk Mueller2023-11-27 15:53:47 +00:00
c0cb2901b6- 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 suspendibleDirk Mueller2023-05-04 19:25:54 +00:00
9d7109d4c1- 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 enabledDirk Mueller2017-09-19 08:50:21 +00:00
6721402479Accepting request 527232 from home:stroeder:branches:devel:languages:pythonDirk Mueller2017-09-19 08:49:43 +00:00
f8ebdbdb62Accepting request 288729 from home:leonardocf:branches:devel:languages:python
Todd R
2015-03-03 18:11:04 +00:00
dcb79f0650Accepting request 204634 from devel:languages:python
Tomáš Chvátal
2013-10-25 09:27:08 +00:00
78f556b185- Fix changes file - License updated to vanilla BSD 2-Clause to ease package use (http://opensource.org/licenses/BSD-2-Clause). - Test suite made discoverable by unittest/unittest2 discovery feature. - Fix to decoder working on indefinite length substrate -- end-of-octets marker is now detected by both tag and value. Otherwise zero values may interfere with end-of-octets marker. - Fix to decoder to fail in cases where tagFormat indicates inappropriate format for the type (e.g. BOOLEAN is always PRIMITIVE, SET is always CONSTRUCTED and OCTET STRING is either of the two) - Fix to REAL type encoder to force primitive encoding form encoding. - Fix to CHOICE decoder to handle explicitly tagged, indefinite length mode encoding - Fix to REAL type decoder to handle negative REAL values correctly. Test case added. - The compact (valueless) way of encoding zero INTEGERs introduced in 0.1.5 seems to fail miserably as the world is filled with broken BER decoders. So we had to back off the *encoder* for a while. There's still the IntegerEncoder.supportCompactZero flag which enables compact encoding form whenever it evaluates to True. - Report package version on debugging code initialization. - Changes from version 0.1.5: - Documentation updated and split into chapters to better match web-site contents. - Make prettyPrint() working for non-initialized pyasn1 data objects. It used to throw an exception. - Fix to encoder to produce empty-payload INTEGER values for zeros - Fix to decoder to support empty-payload INTEGER and REAL values - Fix to unit test suites imports to be able to run each from their current directory
Sascha Peilicke
2013-10-24 13:08:14 +00:00