Repository navigation
0.1.9
Immutable
release. Only release title and notes can be modified.
Release Notes
Released on 2026-10-28.
Serc 0.1.9 expands source-encoding support and improves byte-for-byte
compatibility with CPython.
Enhancements
- Compile source files encoded with Big5 or Windows-1252 using
CPython-compatible codec aliases and strict decoding behavior
(#2266; #2266)
Bug fixes
- Produce CPython-compatible bytecode for additional real-world package sources
(#2266; #2266) - Preserve CPython-compatible source positions and exception-table coverage when
optimization copies, threads, or fuses bytecode (#1718;
#1718) - Restore byte-for-byte compatibility with CPython 3.14.5 across the pinned
compatibility corpus at all optimization levels (#1365;
#1365) - Reject identifiers whose Unicode normalization produces
True,False, or
None, matching CPython 3.13–3.15 while preserving Python 3.12 behavior
(#1371; #1371) - Reject oversized starred assignment targets and named sequence captures with
CPython-compatible diagnostics (#1370;
#1370) - Match CPython bytecode for sequence patterns that combine captures with
trailing wildcards (#1372;
#1372) - Parse bare
raisestatements and uses of thematchsoft keyword after
semicolons consistently with CPython (#2266;
#2266) - Preserve exception-table coverage when
yield fromappears in an
exception-handler type expression (#1376;
#1376) - Emit CPython-compatible
RESUMEexception depth for explicityield
expressions in exception-handler type expressions andexcept*bodies
(#1375; #1375)
Install serc 0.1.9
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://releases.astral.sh/github/serc/releases/download/0.1.9/serc-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://releases.astral.sh/github/serc/releases/download/0.1.9/serc-installer.ps1 | iex"Download serc 0.1.9
Verifying GitHub Artifact Attestations
The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:
gh attestation verify <file-path of downloaded artifact> --repo astral-sh/sercYou can also download the attestation from GitHub and verify against that directly:
gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation>