]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] remove type annotations from multiprocessing. (GH-129381) (#129470)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 30 Jan 2025 08:54:15 +0000 (09:54 +0100)
committerGitHub <noreply@github.com>
Thu, 30 Jan 2025 08:54:15 +0000 (08:54 +0000)
commit25a3f3ac46ca228cb1d03c3830e816332a3935ce
tree4e17e58eea97586a4a92596c3053386ebe46ebd1
parent8b4a0d641cde667f94ce49f5e64da6bd9d6fbd9c
[3.13] remove type annotations from multiprocessing. (GH-129381) (#129470)

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