PyneCore v6.10.9 released — the AST transform pipeline is roughly twice as fast, and its…
Performance
- Transform time roughly halved on 120 real-world scripts (about 34 s -> 16 s), with byte-identical emitted code
- Several transform rules now run in one fused traversal;
PYNE_AST_TIMING=1prints per-step timings
Fixes
- Cached bytecode is now invalidated when a library function starts or stops keeping state, and when runtime helper interfaces change
- A module’s interface is baked into its own
.pyc; the.pynetypes.jsonartifact andPYNE_TYPE_ARTIFACTare gone - Pyne code that spells a transform-generated name (e.g.
__state__) is rejected with aSyntaxErrorinstead of silently colliding - The
TYPE_CHECKINGstripper resolves aliases by scope and handles nested guards - Broker: a cancel probe that failed in transport no longer counts towards the halt
Full release notes: https://github.com/PyneSys/pynecore/releases/tag/v6.10.9