News for hackers. Stuff that matters.
Re:Making Python's __init__ method magical by solox3 on Friday January 03, 2014 @10:48AM (#7005968)
Interesting you mentioned CoffeeScript and syntactic sugar, because adding an equivalent "self." in python inits' parameter names doesn't work the same way in CoffeeScript.

    def __init__(self, self.x, self.y):  # fail
        pass
Did you mention this because there is an existing PEP that proposes this functionality?
Re:Making Python's __init__ method magical by nadaviv on Saturday January 04, 2014 @04:53PM (#7013119)
No, I just thought the way CoffeeScript handles it is pretty slick. I looked around, and it seems like proposals to add something like this to Python did come up [1] [2], but weren't very welcomed.

[1] https://mail.python.org/pipermail/python-dev/2005-July/05456...

[2] http://bytes.com/topic/python/answers/101594-__autoinit__-pr...