Paul Rubin a écrit :
Bruno Desthuilliers <bruno.42.desthuilli...@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.

Russ argument was about "good engineering", not about raw perfs. FWIW, _you_ may be willing to trade dynamism for raw perfs, but there are probably some people here that won't agree.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to