Jelle Zijlstra
Jelle Zijlstra
This package's test directory is called `test`, not `tests`.
Instead of me making periodic manual changes, we should set up a workflow that automatically updates the package on typeshed changes.
# Bug report ### Bug description: 1. Open `./python.exe` 2. `import sys; code = sys._getframe(1).f_code` 3. Type `code.co_` and hit tab 4. This: ### CPython versions tested on: CPython main...
This implements https://peps.python.org/pep-0649/#annotate-and-annotations. In separate PRs I will work on making the compiler synthesize `__annotate__` functions. * Issue: gh-119180
# Bug report ### Bug description: If a dataclass has a subclass that is not itself a dataclass, `is_dataclass()` returns True on the subclass and its instances: ```python from dataclasses...
Adapting to changes in python/typeshed#11880. This mostly adds more precise types for individual pieces of AST. This change fixes typechecking issues that will show up when you next upgrade mypy.
cc @picnixz (thank you for noticing this issue!) * Issue: gh-121332
# Bug report ### Bug description: https://github.com/python/cpython/pull/121162/files#r1664259401 ### CPython versions tested on: 3.13, CPython main branch ### Operating systems tested on: _No response_ ### Linked PRs * gh-121334