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

Terry Reedy tjreedy at udel.edu
Mon Feb 10 17:59:15 EST 2014


On 2/10/2014 4:12 PM, Rotwang wrote:
> 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?

No. That is what makes this a troll post, for fun, rather than a serious 
proposal.

-- 
Terry Jan Reedy




More information about the Python-list mailing list