classification
Title: Use super().method instead in email classes.
Type: enhancement Stage: resolved
Components: email Versions: Python 3.8, Python 3.7
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: barry, madsjensen, r.david.murray
Priority: normal Keywords:

Created on 2018-03-27 11:24 by madsjensen, last changed 2018-03-27 13:47 by r.david.murray. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 5799 madsjensen, 2018-03-27 11:24
Messages (2)
msg314519 - (view) Author: Mads Jensen (madsjensen) * Date: 2018-03-27 11:24
There are lots of legacy calls in the form of ClassName.method, which should be replaced with super().method.
msg314526 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2018-03-27 13:47
Thank you for wanting to improve Python, but unless this is actually causing a problem for someone, there is a greater chance of introducing a bug by making such changes than the benefit of the "cleanup".  So we generally don't accept such patches.  If we modify the code for other reasons (ie: we might already be introducing new bugs), then we make such changes.
History
Date User Action Args
2018-03-27 13:47:28r.david.murraysetstatus: open -> closed
resolution: rejected
messages: + msg314526

stage: resolved
2018-03-27 11:39:03serhiy.storchakasettype: enhancement
2018-03-27 11:24:09madsjensencreate