CultLib/packages/cultcache-py/src/cultcache_py
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 7f6649f9a1 cultcache-py: the payload depth count takes every mapping, sequence and set; a codec's RecursionError is no longer relabelled as a depth refusal
The tree walk counted only list, tuple and dict, so a codec whose tree used deque,
mappingproxy or another abc container was unbounded. Every Mapping, Sequence and Set
that is not text or bytes now counts. RecursionError from a user encode or decode,
and from the JSON decoder, reaches the caller as itself with its traceback; only
msgpack's StackError (raised by depth alone) is mapped to the depth refusal.
All commits build.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-11 17:47:55 +02:00
..
__init__.py cultcache-py: slot keys capped at 65535 at definition; a short record reads with nil as the reference does; bool arm key pinned 2026-10-11 10:12:24 +02:00
backing_store.py Add Python CultCache wire parity package 2026-06-13 20:35:58 +01:00
cache.py Refuse re-entrant Python cache mutations and adopt legacy-key globals on load 2026-09-14 12:27:55 +02:00
documents.py cultcache-py: the payload depth count takes every mapping, sequence and set; a codec's RecursionError is no longer relabelled as a depth refusal 2026-10-11 17:47:55 +02:00
interop.py Add Python CultCache wire parity package 2026-06-13 20:35:58 +01:00
py.typed Mark Python runtime package typed 2026-06-13 22:36:12 +01:00
stores.py cultcache-py: a record refusal names only a string key; pin link writes for R3 2026-09-30 19:54:51 +02:00