Hi, I am surprised by the insistence on this thread for excluding comparisons from constant folding. Why should we special case comparisons? Am I missing something here?
We already constant fold a variety of expressions 0 * 7 '' * 7 True - True True * False (All the above are falsey) Excluding 1 < 2 seems inconsistent. Cheers, Mark. _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@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/BRQHDHZKNIMMXCA5SSAW2N3D57V2ZDZJ/ Code of Conduct: http://python.org/psf/codeofconduct/