Sebastian Rittau

Results 518 comments of Sebastian Rittau

And we should probably not mark those stubs as "obsolete_since".

It looks that `translate` has already been added in #12050.

I've removed the Deferred label. I've just looked at spark primer output. The problem is on their side, since they reuse the `start` variable for different types.

Covariance might help with some of the primer hits. I also don't understand why mypy wants explicit annotations in the test cases.

Looking at the primer hits: 1. pandas does variations of this: ```python axis_indexer = [slice(None)] * values.ndim if periods > 0: axis_indexer[axis] = slice(None, periods) else: axis_indexer[axis] = slice(periods, None)...

`Case`, which used to be a function, became a class. No other changes I can see.

Please note that your IDE's understanding of the types is a poor representation of how the types are annotated in typeshed. `Rational` has no annotations for `__truediv__` at the moment,...

I would personally like to have docstrings in stubs. This could not only help IDEs, but also human readers. I'm quite often reading the doctrings in Typescript `index.d.ts` files (Javascript's...

Defaults would be another welcome addition and indeed quite feasible, I think.

The main problems seems to be the `Element.tag` field. I assume that most code just consumed elements created when reading an XML file, where `tag` will be a `str`. This...