Message3950

Author mcella
Recipients mcella
Date 2008-12-17.15:17:48
SpamBayes Score 1.6135366e-05
Marked as misclassified No
Message-id <1229527069.23.0.20556392013.issue1210@psf.upfronthosting.co.za>
In-reply-to
Content
ATM you can't open IPv6 sockets since Lib/socket.py contains the
following assert:

 518 def _realsocket(family = AF_INET, type = SOCK_STREAM, flags=0):
 519     assert family == AF_INET

on IRC pjenvey said "likely it should be but there may be other changes
needed before AF_INET6 works" and "log a ticket for that one"

Not sure if this wanted (since IPv6 may just be not supported yet as
pjenvey said) or is just a typo, anyway getaddrinfo uses a different assert:

 527 def getaddrinfo(host, port, family=AF_INET, socktype=None, proto=0,
flags=None):
 528     try:
 529         if not family in [AF_INET, AF_INET6, AF_UNSPEC]:
History
Date User Action Args
2008-12-17 15:17:49mcellasetrecipients: + mcella
2008-12-17 15:17:49mcellasetmessageid: <1229527069.23.0.20556392013.issue1210@psf.upfronthosting.co.za>
2008-12-17 15:17:49mcellalinkissue1210 messages
2008-12-17 15:17:48mcellacreate