This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author trent
Recipients jnoller, ocean-city, pitrou, roudkerk, trent
Date 2008-08-11.19:57:45
SpamBayes Score 2.4738615e-06
Marked as misclassified No
Message-id <1218484681.89.0.995266848869.issue3270@psf.upfronthosting.co.za>
In-reply-to
Content
I can confirm the patch works in Windows.  Regarding the 0.0.0.0 issue, 
perhaps we can compromise on something like this:

% svn diff connection.py
Index: connection.py
===================================================================
--- connection.py       (revision 65645)
+++ connection.py       (working copy)
@@ -217,6 +217,8 @@
         self._socket.bind(address)
         self._socket.listen(backlog)
         self._address = self._socket.getsockname()
+        if self._address[0] == '0.0.0.0':
+            self._address[0] = '127.0.0.1'
         self._family = family
         self._last_accepted = None


That way, we still support binding on all addresses, and self._address 
will always represent a connectable end-point.  Thoughts?
History
Date User Action Args
2008-08-11 19:58:02trentsetrecipients: + trent, pitrou, ocean-city, roudkerk, jnoller
2008-08-11 19:58:01trentsetmessageid: <1218484681.89.0.995266848869.issue3270@psf.upfronthosting.co.za>
2008-08-11 19:57:46trentlinkissue3270 messages
2008-08-11 19:57:45trentcreate