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
{{ message }}
Repository navigation
marshal fails to load a frozendict referenced more than once #155315
marshal cannot round-trip a frozendict that appears more than once in the
data. Loading fails with ValueError, while frozenset in the same shape
works:
The reader's TYPE_FROZENDICT branch reserves a back-reference slot with r_ref_reserve but never fills it with r_ref_insert, unlike TYPE_FROZENSET,
so a later reference to the shared frozendict resolves to an empty slot.
Activity
gh-155315: Fix marshal round-trip of shared frozendict references (GH…
[3.15] gh-155315: Fix marshal round-trip of shared frozendict referen…