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 veky
Recipients vabr2, veky
Date 2020-09-28.18:41:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1601318464.93.0.605753716225.issue41877@roundup.psfhosted.org>
In-reply-to
Content
How about we actually _solve_ the problem, instead of masking it with layer upon layer of obfuscation?

Python has standalone functions. assert_called (and company) should just be functions, they shouldn't be methods, and the problem is solved elegantly. The whole reason the problem exists in the first place is that Java, where Python copied the API from, has no standalone functions. In Pythonic design, the problem shouldn't exist at all.
History
Date User Action Args
2020-09-28 18:41:04vekysetrecipients: + veky, vabr2
2020-09-28 18:41:04vekysetmessageid: <1601318464.93.0.605753716225.issue41877@roundup.psfhosted.org>
2020-09-28 18:41:04vekylinkissue41877 messages
2020-09-28 18:41:04vekycreate