Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test case for missing TypedDict TypeVar scope frame
This is a small follow-up to python#13678 and python#13755. In the former diff, I added a TypeVar scope frame around TypedDict creation. However, I had really no good reason for doing this at the time: I wasn't able to find a bug due to the missing frame and added it purely speculatively, out of a desire for symmetry. It turns out this missing frame does legitimately cause some issues, which were reported in the latter. So, this diff encodes one of the reported bugs as a test case to make sure we don't regress.
- Loading branch information