Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
PEP 647 – User-Defined Type Guards (2020) (python.org)
21 points by BiteCode_dev on April 30, 2023 | hide | past | favorite | 1 comment


Are there issues with making it a subtype of bool? From my perspective I only see benefits to doing that.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: