Skip to content

fontlabapp.masters.text.owners

owners

Retain every failed panel owner and fence creation until bounded recovery.

The registry lives with the existing owned-window registry, surviving module reloads. Recovery returns the original error receipts; it never replaces an unresolved owner, implicitly retries cleanup or clears failures to permit launch.

Classes

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
KEY attribute
pending function () -> dict[int, Held] Keep old scalar owners too; never overwrite a previous candidate's handle.
recover function (*, deadline: float, cancelled: Callable=lambda: False) -> tuple[Held, ...] Retry only retained cleanup under ONE caller deadline, returning receipts.
release function (owner: Any) -> None Remove only this confirmed retired identity, preserving all other owners.
require_clear function () -> None Fail before native capture/allocation while any owner remains unresolved.
retain function (owner: Any, error: BaseException) -> Held Retain in constant time even after the cleanup deadline has expired.