Bruno Desthuilliers <bruno.42.desthuilliers at websiteburo.invalid> writes: > > If the programmer could > > somehow disallow it in certain classes, > > Already possible - you just have to provide your own implementation of > __setattr__. Part of the idea of non-dynamic attribute sets is to make the program run faster, not slower.