[Python-ideas] Pattern matching