[Python-ideas] pattern matching proof-of-concept