Steven D'Aprano wrote: > That's not a _reason_, it is just a (re-)statement of fact. We know > that defining a __call__ method on a module doesn't make it callable. > Why not? The answer isn't "because defining a __call__ method on a > module or an instance doesn't make it callable", that's just avoiding > the question.
My reading of the OP sounded like he wanted to know the *technical* reason for why it doesn't work - which is what I provided. If you can come up with a convincing argument, after re-reading the OP (as I've just done), that that is *not* what he meant, I'm all ears. Tim Delaney -- http://mail.python.org/mailman/listinfo/python-list