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
Certify PyPy 3.12 compatibility across OSError reduction and array('Q') grids #32
libvt0.1.0 targets CPython >= 3.12 (3.12–3.15). Full certification on PyPy3.12 (v8.0.1+) — covering TerminalTimeoutError C/RPython W_EnvironmentErrorOSError.__new__ + OSError.__init__ pickling/copying across slotted subclasses, array('Q') / memoryview fast paths, and moving-GC assumptions — is deferred to 0.2.0 (split out from #13).
Motivation
CPython's Objects/exceptions.c (OSError_new) and PyPy's RPython W_EnvironmentError differ in how OSError.__new__ and OSError.__init__ populate errno, strerror, args, __notes__, and subclass __slots__. Certifying PyPy 3.12 in CI verifies both functional parity and pure-Python JIT throughput on _Row and Parser.
Proposal
Invariants
The invariants below are load-bearing; everything under Intent is open.
libvt keeps zero C extensions and zero runtime dependencies (dependencies = []), remaining importable and functional on pure-Python runtimes implementing Python >= 3.12.
All 6TerminalTimeoutError serialization shapes (base instance, dict subclass, __slots__ subclass, custom-signature subclass, errno subclass, and unaliased copy.copy / copy.deepcopy / pickle protocols 0..5__notes__) pass on PyPy 3.12 before PyPy is advertised as officially certified.
Intent (non-binding)
Target 0.2.0: add an informational (continue-on-error: true initially, promoted once green) pypy-3.12 job in .github/workflows/tests.yml and run scripts/bench_vt.py under PyPy JIT warmup.
Not doing
Blocking libvt0.1.0a0 on PyPy 3.12 runner availability.
Activity