Skip to content

issues Search Results · repo:python/typeshed language:Python

Filter by

2k results
 (74 ms)

2k results

inpython/typeshed (press backspace or delete to remove)

Something isn t right about the pymysql typestubs. Found out by updating pyright from 1.1.402 to 1.1.403 which comes with new typestubs, see https://github.com/microsoft/pyright/issues/10690#event-18550210095. ...
  • mickvangelderen
  • 3
  • Opened 
    8 hours ago
  • #14392

The type shed updates for networkx min_cost_flow appear to be incorrect when inspecting the source code. The annotation I see here is identifying a tuple for the output: https://github.com/python/typeshed/blob/9317dc62bd4fb46b8b48ce5353286cab80308d47/stubs/networkx/networkx/algorithms/flow/mincost.pyi#L11-L13. ...
  • engnatha
  • Opened 
    10 hours ago
  • #14391

If I just do eg: graph = nx.DiGraph() mypy complains that var-annotated Need type annotation for graph Is there some issues with the stubs here that makes mypy not understand that nx.DiGraph() ...
  • AckslD
  • 6
  • Opened 
    17 hours ago
  • #14389

I m not sure it s an issue with mypy or the type hint but currently the type hints for NodeView.__call__ are: @overload def __call__(self, data: Literal[False] = False, default=None) - Iterator[_Node]: ...
  • AckslD
  • 3
  • Opened 
    17 hours ago
  • #14387

Right now, AsyncExitStack.__aexit__ unconditionally returns a bool. However, this in contrast to ExitStack.__exit__, which returns the generic _ExitT_co with a bound of bool | None. Why is that? It looks ...
  • bradleyharden
  • 1
  • Opened 
    yesterday
  • #14384

The script runtests.py imports get_oldest_supported_python from ts_utils.metadata, but this function is not included in the __all__ list of lib/ts_utils/metadata.py. As a result, running the script fails ...
  • huynguyengl99
  • 2
  • Opened 
    yesterday
  • #14381

If you download the sources of the latest version (2.9.21.20250516) from PyPi https://pypi.org/project/types-psycopg2/2.9.21.20250516/#files you can see in psycopg2-stubs/extras.pyi: class DictCursor(DictCursorBase): ...
  • adanaja
  • 2
  • Opened 
    2 days ago
  • #14374

Only concrete ast.AST classes have _field_types, but because it is defined on ast.AST, IDEs, for example, incorrectly autocomplete it on abstract classes. https://github.com/python/typeshed/blob/2f198bcfee08a01302b09eb8fcb4e8c86c2a1a61/stdlib/ast.pyi#L32-L38 ...
  • hunterhogan
  • Opened 
    5 days ago
  • #14370

The current return type for this function is list[Any]. # return type depends on the number of groups in the pattern @overload def findall(self: Pattern[str], string: str, pos: int = 0, endpos: ...
  • Grivvus
  • 3
  • Opened 
    7 days ago
  • #14362

Run listed here: https://github.com/python/typeshed/actions/runs/15915139956
help wanted
  • github-actions[bot]
  • 1
  • Opened 
    13 days ago
  • #14345
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub