You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gh-158418: Fix zero-argument super() in ctypes.util.struct methods
@struct builds a new class and copies the decorated class's namespace
into it, so the __class__ cell of the copied methods still pointed at
the discarded class. Rebind that cell to the returned class, as
dataclasses does for slots=True.
0 commit comments