Double underscores -- ugly?

Raymond Hettinger python at rcn.com
Mon Feb 18 22:17:26 EST 2008


[benhoyt]
> Is it just me that thinks "__init__" is rather ugly?

I also find it unattractive and unpleasant to type.

In Py3.0, I would support a single underscore convention, _init_ or
somesuch.

I'm not sure what the aesthetic reasons are, but somehow the change
from double underscores to single underscores makes the result a lot
less offensive to my eyes.

Raymond



More information about the Python-list mailing list