In my opinion, we still don’t have one good example of non-strict type guards that would not be better written using strict type guards. Do you have an example from real code?
I totally agree.
Fair enough. I think that typing is not like the standard library since:
- typing does not normally affect code runtime (except in runtime introspection) and changing type errors is much lower stakes,
- type checkers can be pinned to a version even as python is upgraded, and
- typing is in its infancy and really benefits from being able to swiftly correct design errors without long and labor-intensive deprecation periods.
Anyway, I think we should probably move this discussion to the governance thread. What do you think?