cti-python-stix2/stix2
Michael Chisholm 2cda97cf5e Changed STIX object initialization to formulate a property order
and process properties in that order.  This establishes iteration
order on object properties, making the object_properties() method
unnecessary.  So the latter method has been deleted.  All uses
of that method have been removed.

Removed unnecessary deepcopy() in STIXJSONEncoder, to improve
efficiency.  This uncovered a bug which had been affecting
STIXdatetime instances.  Not deepcopying doesn't trip the bug,
which can change serialization format.  This caused a unit
test to fail, which was checking serialization format.  I fixed
the unit test.

Fixed a bug in _STIXBase.__repr__ which caused it to omit all
properties with falsey values.  This caused several unit tests
to break, since they were written against the old buggy repr
format.  Notably, 'revoked=False' was never included in reprs
before, but it is now.
2021-07-06 20:32:58 -04:00
..
canonicalization
confidence
datastore
equivalence
markings
test Changed STIX object initialization to formulate a property order 2021-07-06 20:32:58 -04:00
v20
v21 Make extension instances work the same as other objects, with 2021-07-06 14:27:40 -04:00
__init__.py
base.py Changed STIX object initialization to formulate a property order 2021-07-06 20:32:58 -04:00
custom.py Make extension instances work the same as other objects, with 2021-07-06 14:27:40 -04:00
environment.py
exceptions.py
hashes.py
parsing.py
pattern_visitor.py
patterns.py
properties.py Bug fixes, hackage removal, and some pre-commit stylistic 2021-06-30 17:50:00 -04:00
registration.py
registry.py Improve customization detection in the face of 2021-06-30 20:20:29 -04:00
serialization.py Changed STIX object initialization to formulate a property order 2021-07-06 20:32:58 -04:00
utils.py
version.py
versioning.py
workbench.py