Skip to content

docs(ts): say why Library has no Symbol.dispose, as python.md already does - #26

Merged
EricAndrechek merged 1 commit into
mainfrom
a6-library-dispose
Sep 13, 2026
Merged

EricAndrechek merged 1 commit into
mainfrom
a6-library-dispose

Conversation

@EricAndrechek

Copy link
Copy Markdown
Member

Closes the documentation half of #13 A6. No code change — A6 asked for confirmation, not a fix.

A6 asks whether Library lacking a scope-based release is a divergence to fix or a design to document. It is the design, and bindings.md §Teardown (¶89, plus the measured reopen rule at ¶91) already carries the full reasoning:

a with library: or a using library closes at the end of a block, which is precisely the mid-lifecycle close that is measured to SEGFAULT on the next open

python.md gained the one-line pointer in #23. ts.md is the other language with the same asymmetry and had nothing, so a reader of ts.md alone still hit using library not working with no explanation nearby. Now both point at the same paragraph.

Verified: lint-prose, lint-paths, lint-public, markdownlint, dprint check clean; parity 9/9.

🤖 Generated with Claude Code

https://claude.ai/code/session_018ckJDLjWhAAttQVrYnQEJD

… does

Issue #13 A6 asks whether the missing scope-based release on Library is a
divergence to fix or a design to document. It is the latter, and
bindings.md §Teardown already carries the full reasoning: a scope-based
close on a Library is the mid-lifecycle teardown measured on 2026-08-31 to
segfault on the next open, so Python and TypeScript both withhold it from
Library alone, on purpose.

python.md gained the one-line pointer in #23. ts.md is the other language
with the same asymmetry and did not have it, so a reader of ts.md alone
still met the surprise with no explanation. Now both say it.

No code change: A6 needed confirming and documenting, not fixing.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018ckJDLjWhAAttQVrYnQEJD
@EricAndrechek
EricAndrechek merged commit 92c3360 into main Sep 13, 2026
14 checks passed
@EricAndrechek
EricAndrechek deleted the a6-library-dispose branch September 13, 2026 04:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant