[Python-ideas] "old" values in postconditions

James Lu jamtlu at gmail.com
Sun Sep 30 11:30:33 EDT 2018


Hi Marko,

Regarding the “transpile into Python” syntax with with statements: Can I see an example of this syntax when used in pathlib? I’m a bit worried this syntax is too long and “in the way”, unlike decorators which are before the function body. Or do you mean that both MockP and your syntax should be supported?

Would

with requiring: assert arg1 < arg2, “message”

Be the code you type or the code that’s actually run?

James Lu

> On Sep 29, 2018, at 2:56 PM, Marko Ristin-Kaufmann <marko.ristin at gmail.com> wrote:
> 
> Just


More information about the Python-ideas mailing list