Alex Waygood

Results 892 comments of Alex Waygood

It also feels slightly more "principled", to me, to list the typeshed-internal dependencies separately, rather than assuming that all `types-*` packages originate with typeshed (unless `types-*` names are reserved for...

Thanks all — a new version of types-requests should be uploaded to PyPI shortly. Feel free to leave a comment here or open a new issue if there are still...

Okay, #7732 has just been merged, and a new release will be uploaded shortly — please let us know if there are still problems with the new release!

If people are still getting what they believe to be false-positive errors following #7696, it would be helpful if they could post a minimal repro and the exact error message...

I'm in favour of adding these, and of getting some more coverage from stubtest. I can take a look on Windows to see what needs adding. Missing `socket` constants have...

This is on my to-do list for as soon as mypy 0.950 is released 🙂

Also, `staticmethod` is quite a lot easier than `classmethod`. `staticmethod` doesn't change the signature of the function it wraps, but `classmethod` does -- it requires `Concatenate`. It would be something...

Mypy 0.950 is now out, but sadly we still cannot use `ParamSpec` in `classmethod` or `staticmethod` due to https://github.com/python/mypy/issues/12011. (`abc.abstractclassmethod` and `abc.abstractstaticmethod` inherit from `classmethod` and `staticmethod` respectively, so while...

> 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] >...

Looks like our `stripe` stubs need a fair few updates -- @kkirsche, is this something you might be interested in helping out with? :)