Finite State Machine

Results 24 issues of Finite State Machine

**Describe the bug** The `coverage` package causes `multiprocessing.resource_tracker` to be imported more than once, resulting in leaked resources, warnings, and other issues. **To Reproduce** Fairly concise code to reproduce the...

bug
multiprocessing
next

Issue #2738 appears to persist on pylint 2.9.5 as well as 3.0.0-a4 (as retrieved using `pip install --upgrade [--pre] pylint` on this date). The merge request for that issue seems...

Regression
False Positive 🦟
Needs PR

The documentation (`typing`, PEP 526, PEP 591, PEP 593) is silent on how `Annotated` and `ClassVar`/`Final` should be nested. Intuitively, `Annotated` should appear on the outside, as the annotation applies...

topic: documentation

### Pitch If I click to display a post with a content warning, I'm saying I'm comfortable seeing content with that warning. Other posts in the same thread with identical...

suggestion

### Pitch If a link in a Mastodon profile redirects back to that profile, the link should be considered verified. ### Motivation Being lazy and frugal, I have little control...

suggestion

macOS version: 10.14.6 (18G103) Rectangle version: v0.31 (36) When setting keyboard shortcuts, shortcuts which are already assigned continue to have effect, interfering with the shortcut selection process. A user new...

bug

**Bug Report** _(Although there are other issues that allude to this problem, I haven't been able to locate an issue which specifically addresses truthiness where `__bool__()` is defined and `@final`....

bug
topic-type-narrowing

**Feature** We're often taught that good code is DRY ("don't repeat yourself") – it minimizes redundancy, and with it the possibility that two or more redundant forms won't agree as...

feature

**Bug Report** Consider the following code [[mypy-play.net]](https://mypy-play.net/?mypy=latest&python=3.10&flags=show-error-codes%2Cstrict%2Cwarn-unreachable&gist=1292b7723e365be11e6db5425822465d): ```python from __future__ import annotations from typing import * T = TypeVar('T') class Parent(Sequence[T]): '''a sequence type which is implemented one of two...

bug

**Bug Report** Using `isinstance(, tuple)` narrows the type of `` to `Tuple[Any, ...]`, not `Tuple[X, ...]` as one would expect. **To Reproduce** [[mypy-play.net](https://mypy-play.net/?mypy=latest&python=3.8&gist=701b1cfe60a28131ab63a43d4be8e9ec)] [[pyright-play.net](https://pyright-play.net/?strict=true&code=GYJw9gtgBA%2BjwFcAuCQFM5QJYQA5hCSgEMA7UsJYpLMUgZwChRIokBPXLUgcxjQAeSNA1oNseAkQAUjKPIXzi9emkIwOuNABo5ihQGU0ARwQiAxjr36oAFQS4ANlZvyAlI08ATNMCg80JBgAN2JHM2k3KABaAD4oI1MLNABteiQQAF0ALmsodBQQUigAOjL5AGI2TjRs7B4KdE9Q8LQoAF5-QJCwiI9GLD8sem50sktpFrNtNgdnN1zFZVV1TTRJ3p07OdT0kBmyksyPV30qwS1zYS866SQAC2GoAHcCAGt6E9OFKuIrhDCtweT1eIA%2BbiAA)[^1]] (pyright handles this as expected) ```python...

bug
topic-type-narrowing