This repository has been archived by the owner on Dec 11, 2023. It is now read-only.
Behavior of __exit__
#11
Labels
wait-for-council
Issues that should not be addressed until the Typing Council exists
The spec should provide guidance on how type checkers should handle
__exit__
annotations. Mypy currently follows a heuristic I proposed a few years ago. Should we formalize that heuristic into the spec, or something else?This is important to specify because it affects how library authors should annotate their
__exit__
methods.The text was updated successfully, but these errors were encountered: