Brian Schubert
Brian Schubert
Fill in stubs for `gdb.dap`, originally introduced in #12804. Based on gdb sources at the tag [`gdb-15.2-release`](https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=23c84db5b3cb4e8a0d555c76e1a0ab56dc8355f3). (PEP 764 would have been *reeeally* nice here)
Closes #14260
Closes #14235
**Bug Report** Given: ```python def f1(*, __kw): pass def f2(x, /, *, __kw): pass ``` stubgen generates: ```python def f1(*, /, __kw) -> None: ... # invalid syntax def f2(x,...
Fixes #18009 Modelling the runtime behavior of `isinstance` (which erases generic type arguments) isn't applicable to `TypeIs`. This PR adds a flag so that we can skip that logic deep...
Refs https://github.com/mypyc/mypyc/issues/838 This PR populates `__text_signature__` for compiled functions, making runtime signature introspection possible (i.e. `inspect.signature(func)`). While `__text_signature__` is an undocumented CPython implementation detail, other extension module generators are using...
Refs #18748 I opted to put this behavior behind a new feature flag (instead of tying it to the existing `InlineTypedDict` flag), since that helps avoid issues with mixing the...
# Bug report ### Bug description: This loop can run forever if there's a cycle in the Makefile variable definitions: https://github.com/python/cpython/blob/5334732f9c8a44722e4b339f4bb837b5b0226991/Lib/sysconfig/__main__.py#L79 To reproduce: ```shell make clean echo 'foo=$(foo)' > ./Modules/Setup.local...
Fixes #636, backport of https://github.com/python/cpython/pull/137281 Added some inline comments about the implementation below.
pyRFC3339 v2.1.0 (released 2025-08-23) includes type hints. https://github.com/kurtraschke/pyRFC3339/releases/tag/v2.1.0