added variance inference test with method scoped type variable by randolf-scholz · Pull Request #2287 · python/typing
-
Notifications
You must be signed in to change notification settings - Fork 299
Conversation
Fixes #2281
This adds a conformance test checking that method scoped type-variables do not influence variance inference, in accordance with the spec.
I understand why you want to clarify this and I'm generally supportive.
Would this be considered a spec change? I'm not quite sure if this should be documented and therefore might need a discuss thread. In any case I would like to at least hear the opinions of the Mypy devs here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters