Releases: Parquery/icontract
Releases · Parquery/icontract
icontract 1.5.9
- Removed
ast_graph
module which was only used for debugging - Prefixed internal modules with an underscore (
_represent
and_recompute
)
icontract 1.5.8
recompute
propagates to children of generator expressions and comprehensions- Optimized parsing of condition lambdas by considering only lines local to the decorator
icontract 1.5.7
- Exempted
__init__
from inheritance of preconditions and postconditions if defined in the
concrete class.
icontract 1.5.6
- Contracts are observed and inherited with property getters, setters and deleters.
- Weakining of preconditions of a base function without any preconditions raises
TypeError
. __getattribute__
,__setattr__
and__delattr__
are exempted from invariants.- Slot wrappers are properly handled.
- Fixed representation of conditions with attributes in generator expressions
- Added reference to sphinx-contract
icontract 1.5.5
- Added reference to
pyicontract-lint
in the README - Made
inv
a class
icontract 1.5.4
- Added support for class and static methods
icontract 1.5.3
- Fixed different signatures of
DBCMeta
depending on Python version (<=3.5 and >3.5) due to differing signatures
of__new__
inabc.ABCMeta
icontract 1.5.2
- Removed dependency on
meta
package and replaced it with re-parsing the file containing the condition to represent the comprehensions
icontract 1.5.1
- Quoted ellipsis in
icontract._unwind_decorator_stack
to comply with a bug
in Python 3.5.2 (see python/typing#259)
icontract 1.5.0
- Added inheritance of contracts