Copy constructors

Jason Asbahr jasbahr at onebox.com
Mon Aug 13 19:37:03 EDT 2001


Guido,

I agree with the general opinion here that having virtual
as default feels like the more 'Pythonic' solution.  

Also class assignment is a very useful feature.  Glyph 
mentioned this in one of his posts, reassigning instances 
and modifying class attributes at runtime is a key feature 
of certain flexible systems (for example, massively multiplayer 
virtual worlds  :-)  (1)  For all the reasons mentioned, adding 
attributes dynamically, reflection, reloading, deploying, and
porting, the flexibility of Python is an enormous benefit.  

Jason Asbahr

1. That's one of the key applications for Twisted, btw.



More information about the Python-list mailing list