python / typing-council

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

Typing spec change: TypeGuard/bool compatibility #20

Closed JelleZijlstra closed 9 months ago

JelleZijlstra commented 9 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 9 months ago

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

JelleZijlstra commented 9 months ago

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