python / typing-council

Decisions by the Python Typing Council
41 stars 3 forks source link

Typing spec change: TypeGuard/bool compatibility #20

Closed JelleZijlstra closed 6 months ago

JelleZijlstra commented 6 months ago

Please review this proposed spec change about compatibility between TypeGuard and bool: https://github.com/python/typing/pull/1637. All four major type checkers already conform with the proposed change. Previous discussion thread on https://discuss.python.org/t/compatibility-between-typeguard-and-bool/46364.

TC Sign-off

JelleZijlstra commented 6 months ago

Ping @erictraut @gvanrossum. Note that I updated the PR against the spec to address concerns that were raised there.

JelleZijlstra commented 6 months ago

Everyone signed off and a week has passed, this change has been accepted. I will merge the spec PR.