Lex Berezhny <eukre...@gmail.com> added the comment: I don't particularly need this functionality. It was just something that seemed counter intuitive to me.
I discovered this while working on a python to javascript compiler. I'll probably implement the compiler to allow overriding with __name__ as it seems more intuitive to me that way. Hopefully cpython will be changed to work that way too. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14092> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com