fontlabapp.glyphs.common.lifetime
lifetime
Keep exact Common Glyphs panel owners and every failed cleanup receipt.
Registry state survives reloads with the shared owned-window registry. Failed owners fence creation until explicit bounded recovery; no silent retry/reset.
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 |
|---|---|---|---|
FAILED |
attribute | ||
KEY |
attribute | ||
current |
function | () -> Any |
Return only this tool's active owner, if any. |
pending |
function | () -> dict[int, Held] |
Read retained failed owners without implicitly retrying cleanup. |
recover |
function | (*, deadline: float, cancelled: Callable=lambda: False) -> tuple[Held, ...] |
Retry retained owners under one deadline and return original receipts. |
release |
function | (owner: Any) -> None |
Release only this verified retired identity, preserving all other owners. |
require_clear |
function | () -> None |
Refuse capture/allocation while a previous cleanup remains incomplete. |
retain |
function | (owner: Any, error: BaseException) -> None |
Retain an owner and append the exact exception even after a timeout. |
windows |
function | () -> dict |
Reuse the application script registry without touching another key. |