Message409124
Another possibility is actually handled this in the compiler:
if we see an assert with a tuple of two elements, we can assume is basically in the form that we want and proceed as if is in the form
assert A, B
This also feels a bit hacky because the AST is somehow wrong as the assert node is already prepared to differentiate these two cases. |
|
Date |
User |
Action |
Args |
2021-12-24 05:30:57 | pablogsal | set | recipients:
+ pablogsal, gvanrossum, rhettinger, gregory.p.smith, serhiy.storchaka, lys.nikolaou, slebedev |
2021-12-24 05:30:57 | pablogsal | set | messageid: <1640323857.89.0.349368550307.issue46167@roundup.psfhosted.org> |
2021-12-24 05:30:57 | pablogsal | link | issue46167 messages |
2021-12-24 05:30:57 | pablogsal | create | |
|