Sebastian Rittau

Results 127 issues of Sebastian Rittau

Just a random thought: When we add classes or type aliases to stubs that aren't available at runtime, but could be useful for users as well (by using `if TYPE_CHECKING:`),...

project-discussion

The [Type Stubs document](https://typing.readthedocs.io/en/latest/source/stubs.html) (source/stubs.rst) is based on a proposed PEP by @rchen152, @JelleZijlstra, @Solumin, and myself to describe the allowed elements of type stubs. It was turned into kind...

Typing Council decision

Split from #1000. ---- I have a similar use case with [Ariadne middleware](https://ariadnegraphql.org/docs/middleware) functions, but with `kwargs`. In Ariadne, a "resolver" function takes two positional arguments and a varying number...

topic: feature

CPython and most typing-related repositories have switched to `main` from `master`. I suggest we do the same in this repository for consistency's sake.

topic: other

While writing type stubs for ExifRead (python/typeshed#9403), I've come across a few inconsistencies/bugs that are probably related to the str/bytes changes from Python 2 to Python 3. 1. `ord_` is...

I'm using pysqlite3 instead of the built-in sqlite3 module, since I need newer features. Therefore I need to register `FakeDate` manually as an adapter for pysqlite3. Unfortunately, since `FakeDate` is...

A check that knows the special import handling in stubs. E.g.: ``` from x import a, b, c as c x: b ``` This should complain about `a` being unused,...

type-feature
priority-low