◐ Shell
clean mode source ↗

added variance inference test with method scoped type variable by randolf-scholz · Pull Request #2287 · python/typing

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@randolf-scholz

Fixes #2281

This adds a conformance test checking that method scoped type-variables do not influence variance inference, in accordance with the spec.

@randolf-scholz

@davidhalter

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.

2 participants

@randolf-scholz @davidhalter