New submission from Boštjan Mejak <bostjan.xpe...@gmail.com>: I am wondering about the cyclomatic complexity of using the new match-case syntax in Python 3.10, and later. What is the cyclomatic complexity difference (if any?) of a match-case code as opposed to code that uses the if-elif-else syntax?
So my question is this: Are there any benefits in using the match-case syntax in terms of cyclomatic complexity? ---------- components: Interpreter Core messages: 402854 nosy: PythonEnthusiast priority: normal severity: normal status: open title: Python 3.10: cyclomatic complexity of match-case syntax type: behavior versions: Python 3.10, Python 3.11 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45318> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com