Dynamically replacing an objects __class__; is it safe?

Gregory Ewing greg.ewing at canterbury.ac.nz
Wed Mar 15 18:03:56 EDT 2017

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.


More information about the Python-list mailing list