Skip to content

[3.12] remove type annotations from multiprocessing. (GH-129381) - #129471

Merged
gpshead merged 1 commit into
python:3.12from
miss-islington:backport-71aecc2-3.12
Jan 30, 2025
Merged

gpshead merged 1 commit into
python:3.12from
miss-islington:backport-71aecc2-3.12

Conversation

@miss-islington

Copy link
Copy Markdown
Contributor
  • 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

Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) wk.cvs.github@sydorenko.org.ua


(cherry picked from commit 71aecc2)

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

* 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

Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>

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

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
@gpshead
gpshead enabled auto-merge (squash) January 30, 2025 08:52
@gpshead
gpshead merged commit ddb314f into python:3.12 Jan 30, 2025
@miss-islington
miss-islington deleted the backport-71aecc2-3.12 branch January 2, 2026 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants