Good point, Brandt. However, `global` is not used in the assertion itself as walrus operator can be.
My point is: is it good to add a new way of causing side effects in assertions? Thank you. _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/NCQ7QNB7MGGJP5TSL2WRP2O2W4FXQP7G/ Code of Conduct: http://python.org/psf/codeofconduct/