[Python-ideas] Why is design-by-contracts not widely adopted?

Robert Collins robertc at robertcollins.net
Wed Sep 26 20:07:18 EDT 2018


On 27 September 2018 at 11:50, Chris Angelico <rosuav at gmail.com> wrote:

> Okay, but what is the contract that's being violated when you use
> data= ? How would you define the contract that this would track?
> That's what I'm asking.

I don't know :). From a modelling perspective the correctness of the
behaviour here depends on state in the server :/.

-Rob


More information about the Python-ideas mailing list