Brian Schubert

Results 52 comments of Brian Schubert

> Even after installing python 3.9 I can't reproduce this. Odd. FWIW, I can reproduce this locally in a fresh 3.9 venv: ```shell $ python --version Python 3.9.23 $ python...

It seems #18193 fixes this, I'll see about picking that back up ```python from typing_extensions import Any, TypeIs, reveal_type class C[T]: v: T def is_int(v: object) -> TypeIs[C[int]]: ... def...

@adam-grant-hendry Mypy only supports testing `sys.platform` using basic equality checks. If you rewrite that as `sys.platform == 'win32' or sys.platform =='cygwin'`, it will work as expected.

Closing per above - original code raises at runtime, suggested correction typechecks.

Linking https://github.com/python/mypy/pull/18696 for context

I am able to reproduce this. (Took me a while to figure out I needed to run `sentry init` to make the plugins happy :-) It seems the crash only...

This only seems to affect typing_extensions on Python 3.9 and 3.10. This script: ```python from typing_extensions import TypeVar, Generic, get_args R = TypeVar("R") T = TypeVar("T", default=int) class A(Generic[R, T]):...