cpython
cpython copied to clipboard
The Python programming language
* Issue: gh-99380
The following code: ```python from typing import * T = TypeVar('T') T2 = TypeVar('T2') Ts = TypeVarTuple('Ts') class A(Generic[T, T2, *Ts]): x: List[T] y: List[T2] z: Tuple[*Ts] A[int] ``` is...
This enables using new features in Sphinx 5, including better index entry searching, object descriptions in the table of contents, and support for newer versions of Docutils. I suggest bumping...
The following code: ```python from typing import * P = ParamSpec('P') Ts = TypeVarTuple('Ts') C = Callable[P, Tuple[*Ts]] C[[int], str, bytes] ``` gives an error: ``` Traceback (most recent call...
These APIs were added in Windows 8, so we can safely backport.
# Bug report The following code gives me an error: ```python from typing import Generic, TypeVarTuple, ParamSpec Ts = TypeVarTuple("Ts") P = ParamSpec("P") class Foo(Generic[*Ts, P]): pass Foo[int, str, [bytes]]...
BPO | [38583](https://bugs.python.org/issue38583) --- | :--- Nosy | @pfmoore, @tjguk, @zware, @zooba, @mikofski *Note: these values reflect the state of the issue at the time it was migrated and might...
We already have events for interpreter creation and free, but not threads. * PR: gh-99378
BPO | [43438](https://bugs.python.org/issue43438) --- | :--- Nosy | @vstinner, @tiran, @zooba, @zkonge, @gousaiyang, @frankli0324 *Note: these values reflect the state of the issue at the time it was migrated and...