
Jan. 29, 2001
11:25 p.m.
"GvR" == Guido van Rossum <guido@digicool.com> writes:
GvR> Yes, this is a good thing. Easy to do on lists and dicts. GvR> Questions: GvR> - How to spell it? x.freeze()? x.readonly()? GvR> - Should this reversible? I.e. should there be an GvR> x.unfreeze()? GvR> - Should we support something like this for instances too? GvR> Sometimes it might be cool to be able to freeze changing GvR> attribute values... lock(x) ...? :) -Barry