Icontract

Latest version: v2.7.1

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 8 of 11

1.5.7

=====
* Exempted ``__init__`` from inheritance of preconditions and postconditions if defined in the
concrete class.

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

1.5.5

=====
* Added reference to ``pyicontract-lint`` in the README
* Made ``inv`` a class

1.5.4

=====
* Added support for class and static methods

1.5.3

=====
* Fixed different signatures of ``DBCMeta`` depending on Python version (<=3.5 and >3.5) due to differing signatures
of ``__new__`` in ``abc.ABCMeta``

1.5.2

=====
* Removed dependency on ``meta`` package and replaced it with re-parsing the file containing the condition
to represent the comprehensions

Page 8 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.