On Dec 13, 2017, at 7:17 PM, Barry Warsaw <barry@python.org> wrote:

I understand that OR clauses aren't supported under any syntax
currently, but as PEPs 566 and 508 are still open/active, wouldn't it be
reasonable to support something like this explicitly?


I personally think this is a good idea, and ideally it would come with support “and”, “or”, and parenthetical for grouping and deprecate (but not remove) support for comma as and and. We actually already support this inside of environment markers just not in the version specifiers. So you can do something like ``python_version == “2.7” or python_version >= “3.4”`` in environment markers and that works but it doesn’t work in other scenarios where it’s useful (such as in requires_python).

Overall I’m +1, not sure if it would be a new PEP or an amendment to the current PEPs but I think it’s a good idea.