<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Aug 20, 2014 at 10:23 AM, David Mertz <span dir="ltr"><<a href="mailto:mertz@gnosis.cx" target="_blank">mertz@gnosis.cx</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I have to say that I find the capabilities in PyContracts--which are absent currently in mypy--to be very compelling. If we are going to add encouragement to use type annotations, adding richer types seems extremely worthwhile. </div>
</blockquote><div><br></div><div>It's easy to check any expressible condition at runtime, but this is not the case ahead of time as with a static analysis tool or linter. It'd be great to have this sort of capability in mypy, but what you're asking for is at the fringes of current research and will not be practical to add to Python any time soon.</div>
<div><br></div><div>-bob</div><div><br></div></div></div></div>