with the addition of PEP 634 and the new match/case syntax in python 3.10, it
seems fitting to be able to use these new match statements inside of
expressions as well, which is why I think we should have a new `matches`
keyword (similar to if/else, is, for, not, etc.) for use in expressions. Thi
ehhh in my opinion its more pythonic to use a keyword in this case, especially
since that seems to be the main way it is currently done with statements being
turned into expressions
___
Python-ideas mailing list -- [email protected]
To unsubscribe