Sebastian Rittau

Results 518 comments of Sebastian Rittau

I marked this as deferred for now, pending the implementation of type var defaults.

I'd prefer to keep just one `requires` field. We ship `METADATA.toml` with the types package in question and for external users the source of the dependency should not matter and...

> I checked on grep.app and I think we're the only people who use requires, so not sure we should worry much about external users. I agree that this is...

3.11-dev seems to have switch Python versions. I'll make a separate PR addressing those issues.

I thought that mypy supports `__new__()`, but that doesn't seem to be the case: ```python class X: def __new__(cls) -> int: # type: ignore[misc] return 43 reveal_type(X()) # Revealed type...

Subclassing `Any` has the disadvantage of losing all type checking. I'll try another approach first.

Also, requiring signing the CLA is perfectly fine for non-stubs contributions.

typeshed's purpose is to help developers to find mistakes in their code. As @JelleZijlstra pointed out, these methods are typed to find likely problems, not necessarily to accept everything that...

stub_uploader could add a line "These stubs have been tested with mypy A.BCD, pytype YYYY.MM.DD, and pyright A.B.CDE." (gathered from `requirements.txt` and `tests/pyright_test.py`) to the description.