Gregor Horvath <[EMAIL PROTECTED]> writes: > Everything is said on this topic. There are two ligitimate solutions > to the problem of private instance variables. Its a matter of taste, > and mine is the pythonic one.
The Pythonic solution is to have both solutions available, and Python in fact used to have both (name mangling and the Bastion class). But Bastion turned out not to work, and it's not easy to fix that under CPython, so it was removed. Now the Bastion class is gone, and only name mangling is left. Maybe Bastion can come back under Pypy. -- http://mail.python.org/mailman/listinfo/python-list