Gregory P. Smith <g...@krypto.org> added the comment:

Agreed, making duplicate method definitions a CI failure is the desired end 
state once our test suite is cleaned up and it doesn't have false positives.

FYI - pylint also implements this check quite reliably as function-redefined 
via its pylint.checkers.base.BasicErrorChecker._check_redefinition() method.

https://github.com/PyCQA/pylint/blob/2.2/pylint/checkers/base.py#L843

----------

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

Reply via email to