A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2007-August/074330.html below:

[Python-Dev] Other SSL issues in the tracker have been marked

[Python-Dev] Other SSL issues in the tracker have been markedBill Janssen janssen at parc.com
Tue Aug 28 19:25:25 CEST 2007
Looking at the buildbots today, Windows is still unhappy.  It seems to
have gotten further, though.

The problematic test is this one:

  File "C:\buildbot_py25\trunk.mcintyre-windows\build\lib\test\test_ssl.py", line 77, in testSSLconnect
      s.connect(("pop.gmail.com", 995))
  File "C:\buildbot_py25\trunk.mcintyre-windows\build\lib\ssl.py", line 170, in connect
    if self._sslobj or (self.getsockname()[1] != 0):
  File "<string>", line 1, in getsockname
    error: (10022, 'Invalid argument')

Looks like a valid complaint, actually.  It should probably read

    if self._sslobj or (int(getnameinfo(self.getsockname(), 0)[1]) != 0):

where "getnameinfo" is from the socket module.  We're trying to see if
the socket has been bound or connected already.

I'm loath to generate a patch till I actually try this on a Windows
machine.  So I'm going to try that this afternoon, and generate a new
patch for you.

Bill
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4