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 <>
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')
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: <>
2020-07-18 06:40:36serhiy.storchakalinkissue41322 messages
2020-07-18 06:40:36serhiy.storchakacreate