python-rope/rope

The Rename Method refactoring is allowed in the overridden method.

researcher175 opened this issue · 0 comments

The method that overrides the superclass method receives the refactoring without warning the user that there is a superclass method.
It would be nice if Rope could emit a warning in this case.

Steps to reproduce the behavior:

  1. Code before refactoring:
class MyList(list):

    def count(self, strg, case_sensitive=False, *args, **kwargs):
        return super(MyList, self).count(strg, *args, **kwargs)
  1. Apply the Rename Method in MyList.count().