Christoph Tyralla

Results 14 issues of Christoph Tyralla

Fix checking multiple assignments based on tuple unpacking involving partially initialised variables (Fixes #12915). This proposal is an alternative to #14423. Similar to #14423, the main idea is to convert...

Fix checking multiple assignments based on tuple unpacking involving partially initialised variables (Fixes #12915). This commit introduces two changes: * It converts unions of tuples to tuples of unions during...

Avoid false "Incompatible return value type" errors when dealing with `isinstance`, constrained type variables and multiple inheritance (Fixes #13800). The idea is to make a union of the current expanded...

Hello everyone! Just a question: Would it be possible to implement documentation versioning into travis-sphinx (or is it already implemented)? At the moment, my doc on GitHub Pages is based...

At first, thank you very much for providing this handy tool! Just recently (yesterday evening and this morning), I got the mentioned error messages. The related commands were: ``` if...

Fixes #16933 @finite-state-machine When I first read your issue, I thought only a special case was left unconsidered. However, I then realized that Mypy's narrowing of generic classes often tends...

upnext

Closes #16111 This PR provides only basic support. Many special cases might need additional attention (descriptors, some special methods like `__int__`, etc.). Other open issues are code comments, eventual documentation...

@ilevkivskyi This is part two of the [checker.py chase](https://github.com/python/mypy/pull/17899#issuecomment-2408149716). I had to extend `InstanceDeprecatedVisitor` so that it refrains from reporting that `self` in the signature of a deprecated class' method...

Fixes #16349 I had to adjust three existing tests. In my opinion, all necessary adjustments indicate an increase in consistency.

upnext

Fixes #18323 Mypy's current approach to detecting deprecated overloads of functions and methods that I implemented has many drawbacks. For example, it does not handle some kinds of unions (see...