You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
socketserver: Add missing ForkingUnixStreamServer and ForkingUnixDatagramServer servers #103673
This enhancement is completely forwards/backwards compatible
Mentions in the documentation are included in the PR corresponding to this issue
Pitch
Googling ForkingUnixStreamServer shows a few people / codebases which define such a class in the same manner as above. I myself have done so in a project.
These classes seem to have been overlooked because they require two if checks for hasattr(socket, "AF_UNIX") and hasattr(os, "fork").
It seems clear to me therefore that these two classes should be added to the socketserver standard library module
Activity
Merge branch 'main' into pythongh-103673
Merge branch 'main' into pythongh-103673
gh-103673: Add missing ForkingUnixStreamServer and ForkingUnixDatagra…
jb2170 commentedon Apr 24, 2023
Completed by d94b3a6, nice one!
gpshead commentedon Apr 24, 2023
Thanks!
Merge branch 'main' into superopt_spec