On Wed, 1 Jul 2020 at 15:50, Guido van Rossum guido@python.org wrote:
Before we all get a little too excited here, I think that allowing
1 = x
as a sneaky way of writing
assert x == 1
would be a terrible mistake.
Well, we'll always have the sneaky way to check if an iterable is empty:
() = x
which admittedly would be useful for entries to the IOPPP (International Obfuscated Python Program Pageant)
-- --Guido van Rossum (python.org/~guido) *Pronouns: he/him **(why is my pronoun here?)* http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-change-the-world/ _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-leave@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/WQCHP4A2... Code of Conduct: http://python.org/psf/codeofconduct/