Ezio Melotti added the comment:

It doesn't necessary have to be limited to methods, anything duplicate might 
turn out to be a bug.  If the script doesn't mix scopes there shouldn't be too 
many false positives, and if they are it shouldn't be a big deal if they are 
reported on the changed file by `make patchcheck`.

> I'm not sure if there is ever a use case for duplicate
> method names.  Is there?

Nothing that can't be done in a more elegant way afaict.

It might make sense for variables though, where you have e.g.:

foo = do_something(x)
foo = do_something_more(foo)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16079>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to