summaryrefslogtreecommitdiff
path: root/pyasn1/type/base.py
Commit message (Collapse)AuthorAgeFilesLines
* fixes to commentselie2015-11-151-1/+0
|
* copyright notice addedelie2015-11-151-0/+6
|
* fix to make uninitilaized pyasn1 objects failing properly on hash()elie2015-07-051-1/+2
|
* Asn1Item.hasValue() added to easily distinguish initalized ASN.1 objectselie2015-06-061-3/+6
| | | | from uninitialized ones (e.g. pure pyasn1 types)
* * new prettyPrintType() abstract method implemented to base pyasn1 typeselie2014-06-131-0/+3
| | | | | | to facilitate encoding errors analisys. * the __str__() method implemented to Tag, TagSet and TagMap classes to ease encoding errors troubleshooting.
* * constructed types can now be initialized with new .setComponents() methodelie2013-12-081-7/+11
| | | | | which accepts both var-args and keyword-args * default repr() modified to reflect this change
* * constructed types now always verify their consistensy withelie2013-12-071-8/+2
| | | | | | isSameTypeWith() rather then with isSuperTypeOf() * optional flags to setComponentByPosition(), introduced in previous revision, withdrawn as lame
* the setComponentBy*() methods of all CONSTRUCTED objects now accept optionalelie2013-12-021-8/+14
| | | | | exactTypes, matchTags and matchConstraints flags to give apps finer control on when not to perform relevant data consistency checks
* when comparing ASN.1 types, by-tag and/or by-constraints matchingelie2013-12-021-6/+11
| | | | | can now be performed with the isSuperTypeOf()/isSameTypeWith() optional flags
* AbstractConstructedAsn1Item.__repr__() fixed to include all class initializerselie2013-12-011-2/+9
|
* * the base.NoValue() class, that indicates uninitialized ASN.1 object,elie2013-11-301-6/+12
| | | | | | made public. * fixes to __repr__() implementation of many Scalar types to take into account all of their initializers such as tagSet, subtypeSpec etc.
* minor fixes as reported by pylintelie2013-06-021-2/+2
|
* make prettyPrint() working for non-initialized pyasn1 data objectselie2012-12-041-1/+6
|
* include object name into constraint violation exceptionelie2012-03-211-1/+5
|
* exlicit repr() calls replaced with '%r'elie2011-11-081-3/+3
|
* NoValue is now iterableelie2011-11-071-0/+3
|
* fix to use sys.version_info, not sys.versionelie2011-10-021-2/+2
|
* support both __nonzero__() and __bool__() methods (py3k style)elie2011-10-021-4/+9
|
* lame import droppedelie2011-08-141-1/+0
|
* switched to rich comparation methodselie2011-08-141-2/+16
|
* drop string module usageelie2011-08-141-1/+0
|
* replace types comparation with isinstance checkingelie2011-08-141-1/+0
|
* fix to repr() workings of Choice objectsrelease_0_0_13b_tagelie2011-03-151-1/+1
|
* * AbstractSimpleAsn1Item.__nonzero__() implementedelie2011-03-111-6/+2
| | | | * AbstractSimpleAsn1Item.__repr__() improved
* * Objects of Constructed types now support __setitem__()elie2011-03-091-2/+3
| | | | * Set/Sequence objects can now be addressed by their field names (string index)
* a bunch of changes related to Any type support re-implementationelie2011-02-171-8/+4
| | | | | | | | * the typeMap term replaced with tagMap to better distinguish tags from types * tagMap concept is now implemented as a specialized, dictionary-like, object rather than pure dictionary * decodeValue() methods now have access to original substrate (to be able to embed full encoding)
* major codec re-design, Any ASN.1 type implementedelie2011-01-261-0/+4
|
* cache value length for some basic typeselie2011-01-231-1/+2
|
* track the number of initialized components of constructed types to saveelie2011-01-221-2/+5
| | | | on default/optional components initialization
* replace slow hasattr()/getattr() calls with isinstance() introspection.elie2011-01-221-0/+2
|
* constructed component length attr moved to base class to save on extraelie2011-01-211-0/+4
| | | | constructor call
* python < 2.2 specific code removedelie2011-01-201-4/+0
|
* _cloneComponentValues() added to abstract Constructed classelie2006-05-211-0/+2
|
* Base ASN.1 types do not have default values anymore. They remainelie2006-04-241-13/+22
| | | | | | uninitialized acting as pure ASN.1 types. In this model, initialized ASN.1 types represent either types with default value installed or a type instance.
* clone() and subtype() methods now accept optional cloneValueFlag parameterelie2006-04-051-20/+15
| | | | | | which controls prototype's value inheritance. Default is not to inherit original value for performance reasons (constructed objects walkover may be expensive).
* Asn1ItemBase.prettyPrinter() -> prettyPrint()elie2005-10-141-1/+3
|
* prettyIn & prettyOut of Asn1Object become public methodselie2005-06-281-5/+5
|
* simple ASN1 value would now hash to its Python componentelie2005-06-261-3/+1
|
* don't use bool() for python2.0 compatibilityelie2005-06-161-1/+3
|
* Initial revisionelie2005-06-141-0/+210