Dynamically replacing an objects __class__; is it safe?
Chris Angelico
rosuav at gmail.com
Wed Mar 15 18:13:19 EDT 2017
On Thu, Mar 16, 2017 at 9:03 AM, Gregory Ewing
<greg.ewing at canterbury.ac.nz> 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.
Yeah but they do it by being so ugly that the earth repels them. I'm
not sure that whale.ugliness is valid or high enough.
ChrisA
More information about the Python-list
mailing list