Message377612
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. |
|
Date |
User |
Action |
Args |
2020-09-28 18:41:04 | veky | set | recipients:
+ veky, vabr2 |
2020-09-28 18:41:04 | veky | set | messageid: <1601318464.93.0.605753716225.issue41877@roundup.psfhosted.org> |
2020-09-28 18:41:04 | veky | link | issue41877 messages |
2020-09-28 18:41:04 | veky | create | |
|