This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients inglesp, vstinner
Date 2016-11-22.20:51:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1479847905.1.0.0528205302143.issue28776@psf.upfronthosting.co.za>
In-reply-to
Content
Redefine a method is a common practice indirectly using decorators:

  @staticmethod
  def method(): pass

is like:

  def method(): pass
  method = staticmethod(method)

So you can clarify what do you mean by "redefining"?

Some linters already can such common mistake (very common mistake in unit tests when using copy & paste).
History
Date User Action Args
2016-11-22 20:51:45vstinnersetrecipients: + vstinner, inglesp
2016-11-22 20:51:45vstinnersetmessageid: <1479847905.1.0.0528205302143.issue28776@psf.upfronthosting.co.za>
2016-11-22 20:51:45vstinnerlinkissue28776 messages
2016-11-22 20:51:45vstinnercreate