]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] remove type annotations from multiprocessing. (GH-129381) (#129471)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 30 Jan 2025 09:08:31 +0000 (10:08 +0100)
committerGitHub <noreply@github.com>
Thu, 30 Jan 2025 09:08:31 +0000 (09:08 +0000)
commitddb314f5989a2f5ee81505d7b80abd8087ee70df
treebb6855168f3265310eeb57ecf6feb87378aaccdc
parentf463d05a0979aada4fadcd43ff721b1ff081d2aa
[3.12] remove type annotations from multiprocessing. (GH-129381) (#129471)

remove type annotations from multiprocessing. (GH-129381)

* remove type annotations from multiprocessing.

One of them was technically invalid per typing specs... but since we're not
checking these in the stdlib today lets elide them.

https://discuss.python.org/t/static-type-annotations-in-cpython/65068/13

* use the actual comment style annotation format

---------
(cherry picked from commit 71aecc284efdf997939568a4167dbffe1a65b9bf)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
Lib/multiprocessing/connection.py
Lib/multiprocessing/synchronize.py