News for hackers. Stuff that matters.
Re:Ask HN: Why Python over Ruby? by earthboundkid on Thursday July 02, 2009 @05:48AM (#684094)
Even without going to the trouble of importing types, every Python callable has an __call__ method. Including the __call__ method:

    >>> def f():
    ...  print("Helllo __call__")
    ... 
    >>> f.__call__.__call__.__call__.__call__()
    Helllo __call__
Don't use this in real life though, there's a performance penalty.
Re:Ask HN: Why Python over Ruby? by ubernostrum on Thursday July 02, 2009 @01:49PM (#684797)
Of course, there's also the singleton that always returns itself:

  >>> recursive = lambda: recursive