<div dir="ltr"><div><div><div><div><div><div>Hi,<br><br></div>I would be
very interested to bring design-by-contract into python 3. I find design-by-contract particularly interesting and indispensable for larger projects and automatic generation of unit tests.<br><br>I looked at
some of the packages found on pypi and also we rolled our own solution
(<a href="https://github.com/Parquery/icontract/" target="_blank">https://github.com/Parquery/<wbr>icontract/</a>). I also looked into <a href="https://www.python.org/dev/peps/pep-0316/" target="_blank">https://www.python.org/dev/<wbr>peps/pep-0316/</a>.<br><br></div>However,
all the current solutions seem quite clunky to me. The decorators involve an
unnecessary computational overhead and the implementation of icontract
became quite tricky once we wanted to get the default values of the
decorated function.<br><br></div><div>Could somebody update me on the state of the discussion on this matter?<br></div><br></div></div></div>I'm very grateful for any feedback on this!</div>