Nick Coghlan added the comment: Yep. The only name in the new scope would be "__class__". Everything else, including method names, should remain invisible from method bodies. I'm not 100% sure it will work as we want, but that's because I'm not sure if we can avoid causing a semantic change for classes at module scope. I just figure it's worth trying.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12370> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com