Author pablogsal
Recipients brandtbucher, lys.nikolaou, pablogsal
Date 2021-06-09.21:24:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1623273892.36.0.872827106809.issue44368@roundup.psfhosted.org>
In-reply-to
Content
Oh, this one is actually correct:

match ...:
    case 42 as _:
        pass

  File "<stdin>", line 2
    case 42 as _:
               ^
SyntaxError: expected ':'

That is literally expecting a ":" and that's the error. It has identified "case 42" correctly and it now expects a ":". Is just that the error marker is wrong because it has reached the "as and _" as part of the parsing so the error is there.

That is going to be a bit tricky to "fix"
History
Date User Action Args
2021-06-09 21:24:52pablogsalsetrecipients: + pablogsal, lys.nikolaou, brandtbucher
2021-06-09 21:24:52pablogsalsetmessageid: <1623273892.36.0.872827106809.issue44368@roundup.psfhosted.org>
2021-06-09 21:24:52pablogsallinkissue44368 messages
2021-06-09 21:24:52pablogsalcreate