[CherryPy] #961: Dual-stack support missing on Python 2.6 (and probably 3.x)

4 views
Skip to first unread message

CherryPy

unread,
Sep 16, 2009, 9:01:04 PM9/16/09
to cherrypy...@googlegroups.com
#961: Dual-stack support missing on Python 2.6 (and probably 3.x)
---------------------------+------------------------------------------------
Reporter: jaraco | Owner: fumanchu
Type: defect | Status: new
Priority: normal | Milestone: 3.2
Component: CherryPy code | Keywords:
---------------------------+------------------------------------------------
As an indirect result of http://bugs.python.org/issue6926 , CherryPy dual-
stack support on Windows is broken.

This may be related to #960.

--
Ticket URL: <http://www.cherrypy.org/ticket/961>
CherryPy <http://www.cherrypy.org>
CherryPy - a pythonic, object-oriented HTTP framework

CherryPy

unread,
Sep 16, 2009, 9:24:28 PM9/16/09
to cherrypy...@googlegroups.com
#961: Dual-stack support missing on Python 2.6 (and probably 3.x)
---------------------------+------------------------------------------------
Reporter: jaraco | Owner: fumanchu
Type: defect | Status: new
Priority: normal | Milestone: 3.2
Component: CherryPy code | Resolution:
Keywords: |
---------------------------+------------------------------------------------
Comment (by jaraco):

This third patch is better - omits the lingering pdb set_trace. :)

CherryPy

unread,
Sep 16, 2009, 9:20:47 PM9/16/09
to cherrypy...@googlegroups.com
#961: Dual-stack support missing on Python 2.6 (and probably 3.x)
---------------------------+------------------------------------------------
Reporter: jaraco | Owner: fumanchu
Type: defect | Status: new
Priority: normal | Milestone: 3.2
Component: CherryPy code | Resolution:
Keywords: |
---------------------------+------------------------------------------------
Comment (by jaraco):

There appears to be two issues. The first is that by the time bind() is
called, the bind_addr[0] is '::0' instead of '::'. The second is that
socket.IPPROTO_IPV6 is missing from Python 2.6 and 3.1.

The second patch to this ticket addresses both of these issues.

I'd appreciate suggestions on addressing the '::' matching. Should we have
a function that tests is_in6addr_any() ?

CherryPy

unread,
Sep 16, 2009, 9:08:25 PM9/16/09
to cherrypy...@googlegroups.com
#961: Dual-stack support missing on Python 2.6 (and probably 3.x)
---------------------------+------------------------------------------------
Reporter: jaraco | Owner: fumanchu
Type: defect | Status: new
Priority: normal | Milestone: 3.2
Component: CherryPy code | Resolution:
Keywords: |
---------------------------+------------------------------------------------
Comment (by jaraco):

I think the problem is at least in part due to the missing constants.
Please see the enclosed proposed patch to address the issue.

CherryPy

unread,
Oct 3, 2009, 3:53:47 PM10/3/09
to cherrypy...@googlegroups.com
#961: Dual-stack support missing on Python 2.6 (and probably 3.x)
---------------------------+------------------------------------------------
Reporter: jaraco | Owner: fumanchu
Type: defect | Status: closed
Priority: normal | Milestone: 3.2
Component: CherryPy code | Resolution: fixed
Keywords: |
---------------------------+------------------------------------------------
Changes (by fumanchu):

* resolution: => fixed
* status: new => closed

Comment:

Fixed in [2543].
Reply all
Reply to author
Forward
0 new messages