On 2026-10-11, Lawrence D’Oliveiro <ldo(a)nz.invalid> wrote:
> Here’s an example that matches the type of the match-expression (not
> its value) against various event subclasses:
>
> events = iter(self.ws.events())
> while True :
> event = next(events, None)
> if event == None :
> break
Um.
Why would you do that and not:
for event in self.ws.events():
?