Commit 0011cd6
docs: Document thread-safety rationale for codec registry
The global codec registry is effectively immutable after import:
registration runs under Python's import lock, and the only runtime
mutation (_load_entry_points) is idempotent under the GIL.
Per-instance isolation is unnecessary since codecs are part of the
type system, not connection-scoped state.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 9d9d675 commit 0011cd6
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
47 | 55 | | |
48 | 56 | | |
49 | 57 | | |
| |||
0 commit comments