At least for me, seeing code like
class Foo:
def __private(self):
frob()
def another_method(self)
class Bar:
def __init__(self):
self.foo = Foo()
...
def some_method:
...
self.foo.__private(self.__frobval)
looks ugly (I mean the part in some_method()). If
requested,
it would be more nice if two leading underscores were
not shown
in methods and vars, but they would be colored
differently. This wouldn't
need to be default, but rather taken into use by
(setq py-mangle-private-names t
private-name-color "#0040fc") ;; norwegian
blue :)
edvard@majakari.net