denballakh

Results 11 issues of denballakh

When `type[type]` is used inside `reveal_type()` i get `Value of type "Type[type]" is not indexable` error: ```py reveal_type(type[type]) # Value of type "Type[type]" is not indexable # Revealed type is...

bug
false-positive
topic-pep-585

Consider this example: ```py x: int = 1 class X(x.__class__): # Name "x.__class__" is not defined # Class cannot subclass "__class__" (has type "Any") pass ``` `Name "x.__class__" is not...

bug
topic-runtime-semantics

```py from typing import Any s: Any = slice(1, 2, 3) class X(s): ... print(X) # slice('X', (slice(1, 2, 3),), {'__module__': '__main__', '__qualname__': 'X'}) x = X() # TypeError: 'slice'...

bug

Consider this example: ```py from __future__ import annotations class X: ... class Y: @property def some_property(self) -> Descriptor: # return Descriptor instance return Descriptor() class Descriptor: def __get__(self, obj: X,...

bug
topic-descriptors

This line makes your library unusable: https://github.com/xtekky/gpt4free/blob/main/gpt4free/usesless/__init__.py#L10

bug

**Describe the style change** Don't add linebreak in binary operations if right operand is a function with short name and long body. Instead prefer keeping function call on the same...

T: style

Are there any up-to-date type stubs for pyimgui? Is there a way to autogenerate them from some source?

enhancement / feature

imgui wants to change cursor state when it is hovering over something reactive (window edge for resizing, for example). pyimgui lacks this functionality and cursor is always the default one...

enhancement / feature
integrations

My usecase boils down to this: ```py s = c.Struct( 'type' / u32, 'value' / c.Switch(c.this.type, { 1: u32, 2: f32, 3: u32, # will be replaced later }) )...

**Environment:** - `pygame-ce 2.4.1 (SDL 2.28.5, Python 3.12.0)`: **Current behavior:** Consider this code: ```py import pygame as pg s = pg.display.set_mode((250, 250)) # draw the outline where other circles will...

bug
good first issue
draw