Skip to content

Releases: Parquery/icontract

icontract 1.5.9

10 Oct 05:30
78f0376
Compare
Choose a tag to compare
  • Removed ast_graph module which was only used for debugging
  • Prefixed internal modules with an underscore (_represent and _recompute)

icontract 1.5.8

10 Oct 05:14
72db19b
Compare
Choose a tag to compare
  • 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

01 Oct 15:20
76c0fe7
Compare
Choose a tag to compare
  • Exempted __init__ from inheritance of preconditions and postconditions if defined in the
    concrete class.

icontract 1.5.6

30 Sep 20:57
bb2cf41
Compare
Choose a tag to compare
  • 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

20 Sep 20:14
8668602
Compare
Choose a tag to compare
  • Added reference to pyicontract-lint in the README
  • Made inv a class

icontract 1.5.4

18 Sep 15:52
41a87df
Compare
Choose a tag to compare
  • Added support for class and static methods

icontract 1.5.3

13 Sep 22:22
6fb85fe
Compare
Choose a tag to compare
  • Fixed different signatures of DBCMeta depending on Python version (<=3.5 and >3.5) due to differing signatures
    of __new__ in abc.ABCMeta

icontract 1.5.2

13 Sep 21:20
7356c9e
Compare
Choose a tag to compare
  • Removed dependency on meta package and replaced it with re-parsing the file containing the condition to represent the comprehensions

icontract 1.5.1

11 Sep 13:05
d0edaba
Compare
Choose a tag to compare
  • 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

10 Sep 07:19
d031c14
Compare
Choose a tag to compare
  • Added inheritance of contracts