Thorsten Kampe wrote:

This scenario is highly "supposing" and doesn't look like a real-world-
case to me. But anyway: the obvious solution in my humble opinion would be to do something like "public_attribute = _private_attribute". But that would be too simple, too "unjavaesque", right?!

Yes, the use of @property is.. cheating!! Shame on you! :)

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to