Stanislav Terliakov

Results 16 issues of Stanislav Terliakov

Bug fixes: * This pull requests fixes a bug introduced in #991 that throws "Sequence is not defined". `bind_or_analyze_type` should not check `node.type`, returning it anyway (`None` too). It make...

I tried to check up the issues that are currently filed here (147 open now). Most of them are labeled as "bug", but not all are real bugs. Examples: -...

**Feature** Detect free type variables as instance attribute annotations, when they appear from constructor with TypeVar in signature without `Generic`. **Pitch** It would be especially useful for beginners. People often...

feature
topic-type-variables

Currently asymmetric properties are not supported by `mypy`. It `mypy` this is considered a bug with high priority ([issue](https://github.com/python/mypy/issues/3004)). `basemypy` decided to go this way further and assume that properties...

p-1
upstream
feature

`pipes.quote` is undocumented. It is [mentioned](https://stackless.readthedocs.io/en/2.7-slp/library/pipes.html) in 2.7 docs as deprecated and exported as `shlex.quote`. Now whole `pipes` module is deprecated as of 3.11 and scheduled for removal in python...

I was surprised (discovered in https://github.com/python/typeshed/issues/9723), that typecheckers currently do not consider `type` in annotation context purely generic alias: unlike `list` or `dict`, it is allowed to remain unsubscripted. This...

topic: other

Let's begin with an image: ![Screenshot](https://github.com/MattDMo/Neon-color-scheme/assets/50529348/25ebf8d4-6983-447c-9fbe-d4c2729629c1) I know for sure this change was introduced last year and is annoying me already for a while. Previously decorators used to be highlighted...

Recently (well, not really, it's been several months) ST python syntax was updated. Among other, the following change was introduced that looks quite unexpected: first docstring line now gets `comment.block.documentation.summary.python`...

bug
status-in-progress

With the following config file piece: ```yaml ... diagram: unrelate: - resource1: ml_instances.aws_eip.eipalloc-08623772f2cbfd669 resource2: ml_instances.aws_instance.ml_ireland.a - resource1: ml_instances.aws_eip.eipalloc-08623772f2cbfd669 resource2: ml_instances.aws_instance.ml_ireland.b - resource1: ml_instances.aws_eip.eipalloc-08623772f2cbfd669 resource2: ml_instances.aws_instance.ml_ireland.c - resource1: ml_instances.aws_eip.eipalloc-08623772f2cbfd669 resource2: ml_instances.aws_instance.ml_ireland.d...

**Bug Report** Applying `TypeIs` to narrow type of an iterable results in too optimistic reachability analysis. **To Reproduce** ```python from collections.abc import Iterable from typing_extensions import TypeIs def is_iterable_int(val: Iterable[object])...

bug