Ravi Kotecha wrote:
Of course I wouldn't, it is a total hack, mostly useless but fun. I tried to do it after someone in #python efnet said it was impossible!
your function only finds *some* name (if it finds a name at all), not *the* name, so you haven't really proven that someone wrong yet.
you can get a lot closer by using more radical approaches, but I don't think it's possible to do this in a fully robust way, at least not from the Python level.
</F> -- http://mail.python.org/mailman/listinfo/python-list