Skip to content

Fix generated __init__ forward-ref annotations under get_annotations / 3.14 - #1598

Open
MohammedAnasNathani wants to merge 4 commits into
python-attrs:mainfrom
MohammedAnasNathani:fix/1596-init-forward-ref-annotations
Open

Fix generated __init__ forward-ref annotations under get_annotations / 3.14#1598
MohammedAnasNathani wants to merge 4 commits into
python-attrs:mainfrom
MohammedAnasNathani:fix/1596-init-forward-ref-annotations

Inline init annotate STRING static fallback for full coverage

0c6bf4f
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis completed Jul 30, 2026

Performance Regression: -13.4%

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

❌ 2 regressed benchmarks
✅ 13 untouched benchmarks

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Benchmark BASE HEAD Efficiency
test_create_simple_class_make_class 3.5 s 4 s -13.45%
test_create_simple_class 3.7 s 4.3 s -13.35%

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing MohammedAnasNathani:fix/1596-init-forward-ref-annotations (0c6bf4f) with main (92e12ea)

Open in CodSpeed