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 serhiy.storchaka
Recipients defreng, ezio.melotti, michael.foord, rbcollins, serhiy.storchaka, terry.reedy, xtreak, zach.ware
Date 2020-07-18.06:40:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1595054436.16.0.0374037001434.issue41322@roundup.psfhosted.org>
In-reply-to
Content
It is also a good idea for linters to catch such kind of errors. It will help users of older Python versions.

We cannot raise error without deprecation period or add warnings in old versions because it potentially can break existing code, e.g.:

    def test_ham(self, arg='ham'):
        ...

    def test_spam(self):
        res = test_ham('spam')
        self.assertTrue(res)
History
Date User Action Args
2020-07-18 06:40:36serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, rbcollins, ezio.melotti, michael.foord, zach.ware, xtreak, defreng
2020-07-18 06:40:36serhiy.storchakasetmessageid: <1595054436.16.0.0374037001434.issue41322@roundup.psfhosted.org>
2020-07-18 06:40:36serhiy.storchakalinkissue41322 messages
2020-07-18 06:40:36serhiy.storchakacreate