Debian Patches

Status for mypy/2.4.0-3

Patch Description Author Forwarded Bugs Origin Last update
0001-mypyc-Fix-recursive-setup-for-frame-private-helpers.patch [mypyc] Skip recursive setup for frame-private nested functions (#22187)



The recursive setup could cause `AttributeError` at runtime when a
function contains both a frame-private as well as a captured nested
function. The setup would add the frame-private function object as an
attribute to the env class and access it even though it was never
initialized.

Fix by omitting the recursive setup since it's not needed - a
frame-private nested function can't call itself.

Also fix possibly inconsistent storage for a redefined nested function
that is captured in one branch and not captured in another by using
`original_def` in capture/free variable checks.
Piotr Sawicki <sawickipiotr@outlook.com> no upstream, https://github.com/python/mypy/pull/22187/ 2026-10-13
remove-mypyc-test-run-timeout remove 30 seconds timeout, due to slower architectures

With Python version 3.13.x & 3.14.x we don't see any hangs
But on sparc64 with hit the timeout, so remove it
"Michael R. Crusoe" <crusoe@debian.org> no 2026-09-15
hint-typeshed-package point to python3-typeshed package for missing types "Michael R. Crusoe" <crusoe@debian.org> not-needed 2024-08-14
verbose make the build more verbose "Michael R. Crusoe" <crusoe@debian.org> not-needed 2022-04-02
intersphinx link to local documenatin "Michael R. Crusoe" <crusoe@debian.org> not-needed 2022-04-02

All known versions for source package 'mypy'

Links