Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make multiprocessing.connection.Client support ipv6 #90966

Open
mhupfer mannequin opened this issue Feb 20, 2022 · 1 comment
Open

Make multiprocessing.connection.Client support ipv6 #90966

mhupfer mannequin opened this issue Feb 20, 2022 · 1 comment
Labels
3.9 only security fixes topic-multiprocessing type-bug An unexpected behavior, bug, or error

Comments

@mhupfer
Copy link
Mannequin

mhupfer mannequin commented Feb 20, 2022

BPO 46810
Nosy @pitrou, @applio

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = None
created_at = <Date 2022-02-20.17:36:46.631>
labels = ['type-bug', '3.9']
title = 'Make multiprocessing.connection.Client support ipv6'
updated_at = <Date 2022-02-25.20:29:58.919>
user = 'https://bugs.python.org/mhupfer'

bugs.python.org fields:

activity = <Date 2022-02-25.20:29:58.919>
actor = 'terry.reedy'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = []
creation = <Date 2022-02-20.17:36:46.631>
creator = 'mhupfer'
dependencies = []
files = []
hgrepos = []
issue_num = 46810
keywords = []
message_count = 1.0
messages = ['413599']
nosy_count = 3.0
nosy_names = ['pitrou', 'davin', 'mhupfer']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue46810'
versions = ['Python 3.9']

@mhupfer
Copy link
Mannequin Author

mhupfer mannequin commented Feb 20, 2022

Hi there,

connecting a multiprocessing.connection.Client to an ipv6 address is not possible, since the address family is not passed into the constructor of class SocketClient. The constructor determines the family by calling address_type(address), which never returns AF_INET6.

The class SocketListener already implemented ipv6 support.

kind regards

@mhupfer mhupfer mannequin added 3.9 only security fixes type-bug An unexpected behavior, bug, or error labels Feb 20, 2022
@terryjreedy terryjreedy changed the title multiprocessing.connection.Client doesn't support ipv6 Make multiprocessing.connection.Client support ipv6 Feb 25, 2022
@terryjreedy terryjreedy changed the title multiprocessing.connection.Client doesn't support ipv6 Make multiprocessing.connection.Client support ipv6 Feb 25, 2022
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.9 only security fixes topic-multiprocessing type-bug An unexpected behavior, bug, or error
Projects
Status: No status
Development

No branches or pull requests

1 participant