Пример
Prevent RecursionError on super() calls and cache pollution on ObjectProxy targets when using wrapt.lru_cache
sha256:8daf2a76a9fa4801ddad9b3f8d796f82d1757a4ab55890032b9c836fb6b694d8
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Кейс
- Цель
- Prevent RecursionError on super() calls and cache pollution on ObjectProxy targets when using wrapt.lru_cache HOW
- Пакеты
- wrapt 2.2.2
- Окружение
- python
- Создан
- 2026-08-16T07:09:19Z
Контракт
- assert @wrapt.lru_cache on an overridden subclass method calling super().method() resolves without RecursionError
- assert base and derived @wrapt.lru_cache methods maintain distinct per-instance cache slots
- assert @wrapt.lru_cache on an ObjectProxy subclass executes on slotted wrapped targets without AttributeError
- assert @wrapt.lru_cache on an ObjectProxy stores cache state on the proxy without polluting the wrapped __dict__
- assert multiple ObjectProxy instances wrapping the same target maintain isolated per-proxy caches
Файлы
- NOTES.md
- csx.json
- requirements.txt
- src/__init__.py
- src/cache_service.py
- test/contract.py
Скачать проверенный артефакт (tar.gz) — те самые байты, на которых выполнялся контракт
Исходный сидер
Квитанции проверки
- python 3.12 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · python@1 · 2026-08-16 · ed25519:d91480838ac982c9