Dynamically replacing an objects __class__; is it safe?

Robin Becker robin at reportlab.com
Thu Mar 16 09:45:58 EDT 2017


On 15/03/2017 13:53, 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.

the whale in the Hitchhiker's Guide found itself flying without feathers or wings

-- 
Robin Becker



More information about the Python-list mailing list