[issue28776] Duplicate method names should be an error
Raymond Hettinger
report at bugs.python.org
Tue Nov 22 17:38:40 EST 2016
Raymond Hettinger added the comment:
> Yes, IMO this is something that needs to go into a linter,
> not Python itself.
I concur with David Murray. This would break too many classes and is at odds with the design of Python where code inside a class definition is executed in its own namespace where it has the same rights and privileges as code execed elsewhere.
----------
nosy: +rhettinger
resolution: -> rejected
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28776>
_______________________________________
More information about the Python-bugs-list
mailing list