[Python-ideas] ABC: what about the method arguments ?

Tarek Ziadé ziade.tarek at gmail.com
Thu Sep 23 21:00:12 CEST 2010

On Thu, Sep 23, 2010 at 8:52 PM, Antoine Pitrou <solipsis at pitrou.net> wrote:
> On Thu, 23 Sep 2010 14:39:01 -0400
> Terry Reedy <tjreedy at udel.edu> wrote:
>> If I were writing a class intended to implement an particular ABC, I
>> would be happy to have an automated check function that might catch
>> errors. 100% testing is hard to achieve.
> How would an automatic check function solve anything, if you don't test
> that the class does what is expected?
> Again, this is exactly the argument for compile-time type checking, and
> it is routinely pointed out that it is mostly useless.

So are you in favor of the removal of all kind of type checking
mechanism in Python ?

> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> http://mail.python.org/mailman/listinfo/python-ideas

Tarek Ziadé | http://ziade.org

More information about the Python-ideas mailing list