PyWart: More surpises via "implict conversion to boolean" (and other steaming piles!)

Rotwang sg552 at hotmail.co.uk
Mon Feb 10 22:12:23 CET 2014


On 10/02/2014 18:45, Rick Johnson wrote:
> [...]
>
>      3. Implicit introspection is evil, i prefer all
>      references to a callable's names to result in a CALL
>      to that callable, not an introspection!

So, for example, none of

     isinstance(x, myclass)

     map(myfunc, range(10))

     x = property(x_get, x_set)

would still work?



More information about the Python-list mailing list