gvanrossum / patma

Pattern Matching
1.02k stars 64 forks source link

work error with zip param "strict=False" on py386 #171

Closed XFrankly closed 3 years ago

XFrankly commented 3 years ago

Hi, Gvanrossum when I am try running the class pattern, util case checks call function pat.translate("X") there had an error at line 362 on module: patma.py

        for pat, field in zip(self.posargs, self.fields, strict=False):  # py 3.8.6  can not support this params strict

when I try to remove the params strict, it was work again.

I am thinking about this problem to report, maybe have some help for your work.

thanks a lot. Franklin

gvanrossum commented 3 years ago

That’s an old unsupported bit of code anyway.