From: gabriele renzi Date: 2004-12-02T04:27:46+09:00 Subject: Re: [OFF] Python 2.4 released Michael Neumann ha scritto: > If the Ruby parser could determine, whether a "def" statement is used inside > another expression (e.g. "public def"), then it would be great if it would > return a Method object. If it's in no expression (plain class/module scope), > it should return nil. Not sure, if this is possible at all. A Method object > is much better than a Symbol! > well, in an old thread matz said that returning a Method object is a cost too high for the current implementation (as in performance). not that I understand why :)