Questions like this are best asked on python-ideas. Specifically, though, you can get the same result with:
for x in (n for n in y if n.is_some_thing): without requiring new syntax. _______________________________________________ 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/LBI4JNJ6CIG5VDRVJ6EYV52IIWV5AXUG/ Code of Conduct: http://python.org/psf/codeofconduct/