Release 4.4.6

pull/192/merge
Ilya Etingof 2018-09-13 22:36:35 +02:00
parent bdc0ac2977
commit 6e30bc0457
2 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,5 @@
Revision 5.0.0, released 2018-09-?? Revision 5.0.0, released 2018-10-??
----------------------------------- -----------------------------------
- SNMPv3 crypto operations that require external dependencies - SNMPv3 crypto operations that require external dependencies
@ -46,7 +46,7 @@ Revision 5.0.0, released 2018-09-??
is to unify this method call with similar methods of CommandGenerator. is to unify this method call with similar methods of CommandGenerator.
This change should not compromise backward compatibility with pysnmp 4. This change should not compromise backward compatibility with pysnmp 4.
Revision 4.4.6, released 2018-09-XX Revision 4.4.6, released 2018-09-13
----------------------------------- -----------------------------------
- Improved package build and dependency tracking - Improved package build and dependency tracking
@ -56,6 +56,10 @@ Revision 4.4.6, released 2018-09-XX
would fail. would fail.
- Fix to tolerate possible duplicate enumerations in `Bits` and `Integer` - Fix to tolerate possible duplicate enumerations in `Bits` and `Integer`
SMI types. SMI types.
- Fix to tolerate non-initialised entries in SNMP community table. Once a
bad entry sneaked into the SNMP community table, all the subsequent
SNMP v1/v2c operations failed. The fix ignores incomplete SNMP community
table entries in the course of building indices.
Revision 4.4.5, released 2018-08-05 Revision 4.4.5, released 2018-08-05
----------------------------------- -----------------------------------

View File

@ -605,7 +605,7 @@ class Bits(OctetString):
def __new__(cls, *args, **kwargs): def __new__(cls, *args, **kwargs):
if 'namedValues' in kwargs: if 'namedValues' in kwargs:
Bits = cls.withNamedBits(**kwargs.pop('namedValues')) Bits = cls.withNamedBits(**dict(kwargs.pop('namedValues')))
return Bits(*args, **kwargs) return Bits(*args, **kwargs)
return OctetString.__new__(cls) return OctetString.__new__(cls)