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
Correct the architecture guide’s description of lazy imports #201
area:coreTerminal emulation, grid storage, parser and public read models.documentationImprovements or additions to documentationp3Lower urgency work with a working alternative or limited current impact.pythonThe Python library, its public distribution, and test integrations.topic:apiPublic Python types, methods, error contracts and discoverability.
The architecture guide says importing libvt loads emulation, input, and formatting. The package resolves its root exports lazily. Readers assessing import cost see conflicting statements in the architecture guide and the public API reference.
Motivation
An application can import the package or discover its pytest plugin without loading the terminal engine. The guide should name the point at which the engine actually loads.
Evidence
Cold interpreter check
uv run python -c 'import sys, libvt; print("libvt.terminal" in sys.modules); _ = libvt.Terminal; print("libvt.terminal" in sys.modules)'
area:coreTerminal emulation, grid storage, parser and public read models.documentationImprovements or additions to documentationp3Lower urgency work with a working alternative or limited current impact.pythonThe Python library, its public distribution, and test integrations.topic:apiPublic Python types, methods, error contracts and discoverability.
Activity
docs(architecture): Document lazy imports (#208)