can't add variables to instances of built-in classes

Wilson Ong wilsonokw at gmail.com
Sun Jul 17 07:50:38 EDT 2016


> Use this feature sparingly, only when you know that there are going to be 
> many (millions rather than thousands) of Test instances.

Why use it sparingly? Is it for extensibility? What if I'm pretty sure that my class is going to have exactly these attributes only?



More information about the Python-list mailing list