Dynamically replacing an objects __class__; is it safe?

alister alister.ware at ntlworld.com
Thu Mar 16 05:15:25 EDT 2017


On Thu, 16 Mar 2017 11:03:56 +1300, Gregory Ewing wrote:

> Steve D'Aprano wrote:
>> You probably can't make a whale fly just by changing the class to bird.
>> It will need wings, and feathers, at the very least.
> 
> Some things succeed in flying with neither wings nor feathers.
> Helicopters, for example.

helicopters DO have wings.

that is why they are technical referred to as ROTARY WING Aircraft ;-)



-- 
Boy, that crayon sure did hurt!


More information about the Python-list mailing list