From 19bfeac60637cc4c810c1269a131a11f6e51f5ec Mon Sep 17 00:00:00 2001 From: Alina Lenk Date: Fri, 18 Oct 2024 20:27:41 +0200 Subject: [PATCH 1/2] generate_packets.py: Fix crash under Python 3.13 This is a workaround for python/cpython#125710 Reported by Marko Lindqvist See RM #975 Signed-off-by: Alina Lenk --- common/generate_packets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/generate_packets.py b/common/generate_packets.py index 32fc7678da..9c37f76eae 100755 --- a/common/generate_packets.py +++ b/common/generate_packets.py @@ -3338,7 +3338,7 @@ class Packet: if not dirs: raise ValueError(f"no directions defined for {self.type}") - self.dirs = Directions(dirs) + self.dirs = Directions(frozenset(dirs)) raw_fields = [ field -- 2.34.1