I would like to see something like %init or &init to be converted to __init__ behind the scenes. And $something to be converted to self.something. But, unfortunately, most Python people would consider this ugly just because Perl uses too much syntactic sugar and anything Perl-like is considered ugly in Python community. So, unless Perl die, I believe that Python will remain sugar-free. -- http://mail.python.org/mailman/listinfo/python-list
- Re: Double underscores -- ug... Bruno Desthuilliers
- Re: Double underscores -- ug... cokofreedom
- Re: Double underscores -- ug... Ben Finney
- Re: Double underscores -- ug... Steven D'Aprano
- Re: Double underscores -- ugly? Bruno Desthuilliers
- Re: Double underscores -- ugly? Steve Holden
- Re: Double underscores -- ugly? Erik Max Francis
- Re: Double underscores -- ugly? castironpi
- Re: Double underscores -- ugly? cokofreedom
- Re: Double underscores -- ugly? Bruno Desthuilliers
- Re: Double underscores -- ugly? Ivan Illarionov
- Re: Double underscores -- ugly? Ben Finney
- Re: Double underscores -- ugly? Jorge Godoy
- Re: Double underscores -- ugly? Steven D'Aprano
- Re: Double underscores -- ugly? benhoyt