typeshed icon indicating copy to clipboard operation
typeshed copied to clipboard

Experiment: make IntEnum integer interface final

Open randolf-scholz opened this issue 2 months ago • 1 comments

https://discuss.python.org/t/amend-pep-586-to-make-enum-values-subtypes-of-literal/59456/11

randolf-scholz avatar Dec 09 '25 16:12 randolf-scholz

Diff from mypy_primer, showing the effect of this PR on open source code:

psycopg (https://github.com/psycopg/psycopg)
+ tests/test_pipeline_async.py:57: error: Unused "type: ignore" comment  [unused-ignore]
+ tests/test_pipeline.py:60: error: Unused "type: ignore" comment  [unused-ignore]

github-actions[bot] avatar Dec 09 '25 16:12 github-actions[bot]