Python-checkins
Threads by month
- ----- 2024 -----
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2004 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2003 -----
- December
- November
- October
- September
- August
December 2008
- 25 participants
- 978 discussions
![](https://secure.gravatar.com/avatar/8ac615df352a970211b0e3d94a307c6d.jpg?s=120&d=mm&r=g)
31 Dec '08
Author: raymond.hettinger
Date: Wed Dec 31 05:33:06 2008
New Revision: 68096
Log:
Issue 4790: Eliminate unnecessary work from heapq's nlargest() and nsmallest()
functions for the common case where no key function is specified.
Modified:
python/branches/release30-maint/Lib/heapq.py
python/branches/release30-maint/Misc/NEWS
Modified: python/branches/release30-maint/Lib/heapq.py
==============================================================================
--- python/branches/release30-maint/Lib/heapq.py (original)
+++ python/branches/release30-maint/Lib/heapq.py Wed Dec 31 05:33:06 2008
@@ -354,9 +354,12 @@
Equivalent to: sorted(iterable, key=key)[:n]
"""
+ if key is None:
+ it = zip(iterable, count()) # decorate
+ result = _nsmallest(n, it)
+ return list(map(itemgetter(0), result)) # undecorate
in1, in2 = tee(iterable)
- keys = in1 if key is None else map(key, in1)
- it = zip(keys, count(), in2) # decorate
+ it = zip(map(key, in1), count(), in2) # decorate
result = _nsmallest(n, it)
return list(map(itemgetter(2), result)) # undecorate
@@ -366,9 +369,12 @@
Equivalent to: sorted(iterable, key=key, reverse=True)[:n]
"""
+ if key is None:
+ it = zip(iterable, map(neg, count())) # decorate
+ result = _nlargest(n, it)
+ return list(map(itemgetter(0), result)) # undecorate
in1, in2 = tee(iterable)
- keys = in1 if key is None else map(key, in1)
- it = zip(keys, map(neg, count()), in2) # decorate
+ it = zip(map(key, in1), map(neg, count()), in2) # decorate
result = _nlargest(n, it)
return list(map(itemgetter(2), result)) # undecorate
Modified: python/branches/release30-maint/Misc/NEWS
==============================================================================
--- python/branches/release30-maint/Misc/NEWS (original)
+++ python/branches/release30-maint/Misc/NEWS Wed Dec 31 05:33:06 2008
@@ -45,6 +45,9 @@
Library
-------
+- Issue 4790: The nsmallest() and nlargest() functions in the heapq module
+ did unnecessary work in the common case where no key function was specified.
+
- Issue #4702: Throwing a DistutilsPlatformError instead of IOError in case
no MSVC compiler is found under Windows. Original patch by Philip Jenvey.
1
0
The Buildbot has detected a new failure of ia64 Ubuntu trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/ia64%20Ubuntu%20trunk/builds/822
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-debian-ia64
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: benjamin.peterson
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_ssl
======================================================================
ERROR: testSSLconnect (test.test_ssl.BasicTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/test/test_ssl.py", line 59, in testSSLconnect
cert_reqs=ssl.CERT_NONE)
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/ssl.py", line 350, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/ssl.py", line 106, in __init__
except socket.error:
AttributeError: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testConnect (test.test_ssl.NetworkedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/test/test_ssl.py", line 120, in testConnect
cert_reqs=ssl.CERT_NONE)
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/ssl.py", line 350, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/ssl.py", line 106, in __init__
except socket.error:
AttributeError: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testFetchServerCert (test.test_ssl.NetworkedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/test/test_ssl.py", line 175, in testFetchServerCert
pem = ssl.get_server_certificate(("svn.python.org", 443))
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/ssl.py", line 410, in get_server_certificate
cert_reqs=cert_reqs, ca_certs=ca_certs)
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/ssl.py", line 350, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/ssl.py", line 106, in __init__
except socket.error:
AttributeError: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testAllRecvAndSendMethods (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/test/test_ssl.py", line 1074, in testAllRecvAndSendMethods
raise support.TestFailed("Unexpected exception: " + str(x))
NameError: global name 'support' is not defined
======================================================================
ERROR: testAsyncoreServer (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/test/test_ssl.py", line 1023, in testAsyncoreServer
raise test_support.TestFailed("Unexpected exception: " + str(x))
TestFailed: Unexpected exception: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testEcho (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/test/test_ssl.py", line 767, in testEcho
chatty=True, connectionchatty=True)
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/test/test_ssl.py", line 663, in serverParamsTest
raise test_support.TestFailed("Unexpected exception: " + str(x))
TestFailed: Unexpected exception: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testMalformedCert (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/test/test_ssl.py", line 829, in testMalformedCert
"badcert.pem"))
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/test/test_ssl.py", line 618, in badCertTest
ssl_version=ssl.PROTOCOL_TLSv1)
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/ssl.py", line 350, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/ssl.py", line 106, in __init__
except socket.error:
AttributeError: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testMalformedKey (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/test/test_ssl.py", line 835, in testMalformedKey
"badkey.pem"))
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/test/test_ssl.py", line 618, in badCertTest
ssl_version=ssl.PROTOCOL_TLSv1)
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/ssl.py", line 350, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/ssl.py", line 106, in __init__
except socket.error:
AttributeError: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testNULLcert (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/test/test_ssl.py", line 826, in testNULLcert
"nullcert.pem"))
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/test/test_ssl.py", line 618, in badCertTest
ssl_version=ssl.PROTOCOL_TLSv1)
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/ssl.py", line 350, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/ssl.py", line 106, in __init__
except socket.error:
AttributeError: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testProtocolSSL2 (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/test/test_ssl.py", line 840, in testProtocolSSL2
tryProtocolCombo(ssl.PROTOCOL_SSLv2, ssl.PROTOCOL_SSLv2, True)
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/test/test_ssl.py", line 710, in tryProtocolCombo
CERTFILE, CERTFILE, client_protocol, chatty=False)
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/test/test_ssl.py", line 663, in serverParamsTest
raise test_support.TestFailed("Unexpected exception: " + str(x))
TestFailed: Unexpected exception: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testProtocolSSL23 (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/test/test_ssl.py", line 858, in testProtocolSSL23
tryProtocolCombo(ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_SSLv3, True)
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/test/test_ssl.py", line 710, in tryProtocolCombo
CERTFILE, CERTFILE, client_protocol, chatty=False)
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/test/test_ssl.py", line 663, in serverParamsTest
raise test_support.TestFailed("Unexpected exception: " + str(x))
TestFailed: Unexpected exception: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testProtocolSSL3 (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/test/test_ssl.py", line 873, in testProtocolSSL3
tryProtocolCombo(ssl.PROTOCOL_SSLv3, ssl.PROTOCOL_SSLv3, True)
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/test/test_ssl.py", line 710, in tryProtocolCombo
CERTFILE, CERTFILE, client_protocol, chatty=False)
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/test/test_ssl.py", line 663, in serverParamsTest
raise test_support.TestFailed("Unexpected exception: " + str(x))
TestFailed: Unexpected exception: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testProtocolTLS1 (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/test/test_ssl.py", line 883, in testProtocolTLS1
tryProtocolCombo(ssl.PROTOCOL_TLSv1, ssl.PROTOCOL_TLSv1, True)
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/test/test_ssl.py", line 710, in tryProtocolCombo
CERTFILE, CERTFILE, client_protocol, chatty=False)
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/test/test_ssl.py", line 663, in serverParamsTest
raise test_support.TestFailed("Unexpected exception: " + str(x))
TestFailed: Unexpected exception: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testReadCert (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/test/test_ssl.py", line 797, in testReadCert
"Unexpected exception: " + str(x))
TestFailed: Unexpected exception: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testWrappedAccept (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/test/test_ssl.py", line 1001, in testWrappedAccept
wrap_accepting_socket=True)
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/test/test_ssl.py", line 644, in serverParamsTest
wrap_accepting_socket=wrap_accepting_socket)
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/test/test_ssl.py", line 349, in __init__
ssl_version = self.protocol)
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/ssl.py", line 350, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/ssl.py", line 106, in __init__
except socket.error:
AttributeError: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testWrongCert (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/test/test_ssl.py", line 832, in testWrongCert
"wrongcert.pem"))
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/test/test_ssl.py", line 618, in badCertTest
ssl_version=ssl.PROTOCOL_TLSv1)
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/ssl.py", line 350, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/trunk.klose-debian-ia64/build/Lib/ssl.py", line 106, in __init__
except socket.error:
AttributeError: type object '_socketobject' has no attribute 'error'
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
1
0
The Buildbot has detected a new failure of ppc Debian unstable 3.x.
Full details are available at:
http://www.python.org/dev/buildbot/all/ppc%20Debian%20unstable%203.x/builds…
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-debian-ppc
Build Reason:
Build Source Stamp: [branch branches/py3k] HEAD
Blamelist: benjamin.peterson
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_ssl
======================================================================
ERROR: testSSLconnect (test.test_ssl.BasicTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 116, in __init__
socket.getpeername(self)
socket.error: [Errno 107] Transport endpoint is not connected
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_ssl.py", line 43, in testSSLconnect
cert_reqs=ssl.CERT_NONE)
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 381, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 117, in __init__
except socket.error:
AttributeError: type object 'socket' has no attribute 'error'
======================================================================
ERROR: testConnect (test.test_ssl.NetworkedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 116, in __init__
socket.getpeername(self)
socket.error: [Errno 107] Transport endpoint is not connected
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_ssl.py", line 104, in testConnect
cert_reqs=ssl.CERT_NONE)
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 381, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 117, in __init__
except socket.error:
AttributeError: type object 'socket' has no attribute 'error'
======================================================================
ERROR: testFetchServerCert (test.test_ssl.NetworkedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 116, in __init__
socket.getpeername(self)
socket.error: [Errno 107] Transport endpoint is not connected
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_ssl.py", line 158, in testFetchServerCert
pem = ssl.get_server_certificate(("svn.python.org", 443))
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 430, in get_server_certificate
cert_reqs=cert_reqs, ca_certs=ca_certs)
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 381, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 117, in __init__
except socket.error:
AttributeError: type object 'socket' has no attribute 'error'
======================================================================
ERROR: testAllRecvAndSendMethods (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 116, in __init__
socket.getpeername(self)
socket.error: [Errno 107] Transport endpoint is not connected
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_ssl.py", line 1061, in testAllRecvAndSendMethods
ssl_version=ssl.PROTOCOL_TLSv1)
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 381, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 117, in __init__
except socket.error:
AttributeError: type object 'socket' has no attribute 'error'
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_ssl.py", line 1066, in testAllRecvAndSendMethods
raise support.TestFailed("Unexpected exception: " + str(x))
test.support.TestFailed: Unexpected exception: type object 'socket' has no attribute 'error'
======================================================================
ERROR: testAsyncoreServer (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 116, in __init__
socket.getpeername(self)
socket.error: [Errno 107] Transport endpoint is not connected
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_ssl.py", line 1011, in testAsyncoreServer
s = ssl.wrap_socket(socket.socket())
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 381, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 117, in __init__
except socket.error:
AttributeError: type object 'socket' has no attribute 'error'
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_ssl.py", line 1016, in testAsyncoreServer
raise support.TestFailed("Unexpected exception: " + str(x))
test.support.TestFailed: Unexpected exception: type object 'socket' has no attribute 'error'
======================================================================
ERROR: testEcho (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 116, in __init__
socket.getpeername(self)
socket.error: [Errno 107] Transport endpoint is not connected
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_ssl.py", line 647, in serverParamsTest
ssl_version=client_protocol)
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 381, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 117, in __init__
except socket.error:
AttributeError: type object 'socket' has no attribute 'error'
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_ssl.py", line 721, in testEcho
chatty=True, connectionchatty=True)
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_ssl.py", line 652, in serverParamsTest
raise support.TestFailed("Unexpected exception: " + str(x))
test.support.TestFailed: Unexpected exception: type object 'socket' has no attribute 'error'
======================================================================
ERROR: testMalformedCert (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 116, in __init__
socket.getpeername(self)
socket.error: [Errno 107] Transport endpoint is not connected
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_ssl.py", line 783, in testMalformedCert
"badcert.pem"))
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_ssl.py", line 608, in badCertTest
ssl_version=ssl.PROTOCOL_TLSv1)
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 381, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 117, in __init__
except socket.error:
AttributeError: type object 'socket' has no attribute 'error'
======================================================================
ERROR: testMalformedKey (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 116, in __init__
socket.getpeername(self)
socket.error: [Errno 107] Transport endpoint is not connected
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_ssl.py", line 789, in testMalformedKey
"badkey.pem"))
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_ssl.py", line 608, in badCertTest
ssl_version=ssl.PROTOCOL_TLSv1)
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 381, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 117, in __init__
except socket.error:
AttributeError: type object 'socket' has no attribute 'error'
======================================================================
ERROR: testNULLcert (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 116, in __init__
socket.getpeername(self)
socket.error: [Errno 107] Transport endpoint is not connected
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_ssl.py", line 780, in testNULLcert
"nullcert.pem"))
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_ssl.py", line 608, in badCertTest
ssl_version=ssl.PROTOCOL_TLSv1)
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 381, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 117, in __init__
except socket.error:
AttributeError: type object 'socket' has no attribute 'error'
======================================================================
ERROR: testProtocolSSL2 (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 116, in __init__
socket.getpeername(self)
socket.error: [Errno 107] Transport endpoint is not connected
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_ssl.py", line 647, in serverParamsTest
ssl_version=client_protocol)
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 381, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 117, in __init__
except socket.error:
AttributeError: type object 'socket' has no attribute 'error'
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_ssl.py", line 831, in testProtocolSSL2
tryProtocolCombo(ssl.PROTOCOL_SSLv2, ssl.PROTOCOL_SSLv2, True)
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_ssl.py", line 701, in tryProtocolCombo
chatty=False, connectionchatty=False)
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_ssl.py", line 652, in serverParamsTest
raise support.TestFailed("Unexpected exception: " + str(x))
test.support.TestFailed: Unexpected exception: type object 'socket' has no attribute 'error'
======================================================================
ERROR: testProtocolSSL23 (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 116, in __init__
socket.getpeername(self)
socket.error: [Errno 107] Transport endpoint is not connected
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_ssl.py", line 647, in serverParamsTest
ssl_version=client_protocol)
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 381, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 117, in __init__
except socket.error:
AttributeError: type object 'socket' has no attribute 'error'
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_ssl.py", line 849, in testProtocolSSL23
tryProtocolCombo(ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_SSLv3, True)
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_ssl.py", line 701, in tryProtocolCombo
chatty=False, connectionchatty=False)
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_ssl.py", line 652, in serverParamsTest
raise support.TestFailed("Unexpected exception: " + str(x))
test.support.TestFailed: Unexpected exception: type object 'socket' has no attribute 'error'
======================================================================
ERROR: testProtocolSSL3 (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 116, in __init__
socket.getpeername(self)
socket.error: [Errno 107] Transport endpoint is not connected
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_ssl.py", line 647, in serverParamsTest
ssl_version=client_protocol)
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 381, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 117, in __init__
except socket.error:
AttributeError: type object 'socket' has no attribute 'error'
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_ssl.py", line 864, in testProtocolSSL3
tryProtocolCombo(ssl.PROTOCOL_SSLv3, ssl.PROTOCOL_SSLv3, True)
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_ssl.py", line 701, in tryProtocolCombo
chatty=False, connectionchatty=False)
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_ssl.py", line 652, in serverParamsTest
raise support.TestFailed("Unexpected exception: " + str(x))
test.support.TestFailed: Unexpected exception: type object 'socket' has no attribute 'error'
======================================================================
ERROR: testProtocolTLS1 (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 116, in __init__
socket.getpeername(self)
socket.error: [Errno 107] Transport endpoint is not connected
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_ssl.py", line 647, in serverParamsTest
ssl_version=client_protocol)
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 381, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 117, in __init__
except socket.error:
AttributeError: type object 'socket' has no attribute 'error'
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_ssl.py", line 874, in testProtocolTLS1
tryProtocolCombo(ssl.PROTOCOL_TLSv1, ssl.PROTOCOL_TLSv1, True)
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_ssl.py", line 701, in tryProtocolCombo
chatty=False, connectionchatty=False)
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_ssl.py", line 652, in serverParamsTest
raise support.TestFailed("Unexpected exception: " + str(x))
test.support.TestFailed: Unexpected exception: type object 'socket' has no attribute 'error'
======================================================================
ERROR: testReadCert (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 116, in __init__
socket.getpeername(self)
socket.error: [Errno 107] Transport endpoint is not connected
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_ssl.py", line 744, in testReadCert
ssl_version=ssl.PROTOCOL_SSLv23)
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 381, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 117, in __init__
except socket.error:
AttributeError: type object 'socket' has no attribute 'error'
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_ssl.py", line 751, in testReadCert
"Unexpected exception: " + str(x))
test.support.TestFailed: Unexpected exception: type object 'socket' has no attribute 'error'
======================================================================
ERROR: testWrongCert (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 116, in __init__
socket.getpeername(self)
socket.error: [Errno 107] Transport endpoint is not connected
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_ssl.py", line 786, in testWrongCert
"wrongcert.pem"))
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/test/test_ssl.py", line 608, in badCertTest
ssl_version=ssl.PROTOCOL_TLSv1)
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 381, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/3.x.klose-debian-ppc/build/Lib/ssl.py", line 117, in __init__
except socket.error:
AttributeError: type object 'socket' has no attribute 'error'
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
1
0
![](https://secure.gravatar.com/avatar/8ac615df352a970211b0e3d94a307c6d.jpg?s=120&d=mm&r=g)
31 Dec '08
Author: raymond.hettinger
Date: Wed Dec 31 05:18:44 2008
New Revision: 68095
Log:
Issue 4790: Eliminate unnecessary work from heapq's nlargest() and nsmallest()
functions for the common case where no key function is specified.
Modified:
python/branches/release26-maint/Lib/heapq.py
python/branches/release26-maint/Misc/NEWS
Modified: python/branches/release26-maint/Lib/heapq.py
==============================================================================
--- python/branches/release26-maint/Lib/heapq.py (original)
+++ python/branches/release26-maint/Lib/heapq.py Wed Dec 31 05:18:44 2008
@@ -354,6 +354,10 @@
Equivalent to: sorted(iterable, key=key)[:n]
"""
+ if key is None:
+ it = izip(iterable, count()) # decorate
+ result = _nsmallest(n, it)
+ return map(itemgetter(0), result) # undecorate
in1, in2 = tee(iterable)
it = izip(imap(key, in1), count(), in2) # decorate
result = _nsmallest(n, it)
@@ -365,6 +369,10 @@
Equivalent to: sorted(iterable, key=key, reverse=True)[:n]
"""
+ if key is None:
+ it = izip(iterable, imap(neg, count())) # decorate
+ result = _nlargest(n, it)
+ return map(itemgetter(0), result) # undecorate
in1, in2 = tee(iterable)
it = izip(imap(key, in1), imap(neg, count()), in2) # decorate
result = _nlargest(n, it)
Modified: python/branches/release26-maint/Misc/NEWS
==============================================================================
--- python/branches/release26-maint/Misc/NEWS (original)
+++ python/branches/release26-maint/Misc/NEWS Wed Dec 31 05:18:44 2008
@@ -44,6 +44,9 @@
Library
-------
+- Issue 4790: The nsmallest() and nlargest() functions in the heapq module
+ did unnecessary work in the common case where no key function was specified.
+
- Issue #3767: Convert Tk object to string in tkColorChooser.
- Issue #3248: Allow placing ScrolledText in a PanedWindow.
1
0
The Buildbot has detected a new failure of i386 Ubuntu 3.x.
Full details are available at:
http://www.python.org/dev/buildbot/all/i386%20Ubuntu%203.x/builds/41
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-ubuntu-i386
Build Reason:
Build Source Stamp: [branch branches/py3k] HEAD
Blamelist: benjamin.peterson
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_ssl
======================================================================
ERROR: testSSLconnect (test.test_ssl.BasicTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 116, in __init__
socket.getpeername(self)
socket.error: [Errno 107] Transport endpoint is not connected
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 43, in testSSLconnect
cert_reqs=ssl.CERT_NONE)
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 381, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 117, in __init__
except socket.error:
AttributeError: type object 'socket' has no attribute 'error'
======================================================================
ERROR: testConnect (test.test_ssl.NetworkedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 116, in __init__
socket.getpeername(self)
socket.error: [Errno 107] Transport endpoint is not connected
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 104, in testConnect
cert_reqs=ssl.CERT_NONE)
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 381, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 117, in __init__
except socket.error:
AttributeError: type object 'socket' has no attribute 'error'
======================================================================
ERROR: testFetchServerCert (test.test_ssl.NetworkedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 116, in __init__
socket.getpeername(self)
socket.error: [Errno 107] Transport endpoint is not connected
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 158, in testFetchServerCert
pem = ssl.get_server_certificate(("svn.python.org", 443))
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 430, in get_server_certificate
cert_reqs=cert_reqs, ca_certs=ca_certs)
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 381, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 117, in __init__
except socket.error:
AttributeError: type object 'socket' has no attribute 'error'
======================================================================
ERROR: testAllRecvAndSendMethods (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 116, in __init__
socket.getpeername(self)
socket.error: [Errno 107] Transport endpoint is not connected
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 1061, in testAllRecvAndSendMethods
ssl_version=ssl.PROTOCOL_TLSv1)
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 381, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 117, in __init__
except socket.error:
AttributeError: type object 'socket' has no attribute 'error'
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 1066, in testAllRecvAndSendMethods
raise support.TestFailed("Unexpected exception: " + str(x))
test.support.TestFailed: Unexpected exception: type object 'socket' has no attribute 'error'
======================================================================
ERROR: testAsyncoreServer (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 116, in __init__
socket.getpeername(self)
socket.error: [Errno 107] Transport endpoint is not connected
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 1011, in testAsyncoreServer
s = ssl.wrap_socket(socket.socket())
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 381, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 117, in __init__
except socket.error:
AttributeError: type object 'socket' has no attribute 'error'
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 1016, in testAsyncoreServer
raise support.TestFailed("Unexpected exception: " + str(x))
test.support.TestFailed: Unexpected exception: type object 'socket' has no attribute 'error'
======================================================================
ERROR: testEcho (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 116, in __init__
socket.getpeername(self)
socket.error: [Errno 107] Transport endpoint is not connected
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 647, in serverParamsTest
ssl_version=client_protocol)
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 381, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 117, in __init__
except socket.error:
AttributeError: type object 'socket' has no attribute 'error'
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 721, in testEcho
chatty=True, connectionchatty=True)
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 652, in serverParamsTest
raise support.TestFailed("Unexpected exception: " + str(x))
test.support.TestFailed: Unexpected exception: type object 'socket' has no attribute 'error'
======================================================================
ERROR: testMalformedCert (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 116, in __init__
socket.getpeername(self)
socket.error: [Errno 107] Transport endpoint is not connected
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 783, in testMalformedCert
"badcert.pem"))
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 608, in badCertTest
ssl_version=ssl.PROTOCOL_TLSv1)
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 381, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 117, in __init__
except socket.error:
AttributeError: type object 'socket' has no attribute 'error'
======================================================================
ERROR: testMalformedKey (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 116, in __init__
socket.getpeername(self)
socket.error: [Errno 107] Transport endpoint is not connected
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 789, in testMalformedKey
"badkey.pem"))
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 608, in badCertTest
ssl_version=ssl.PROTOCOL_TLSv1)
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 381, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 117, in __init__
except socket.error:
AttributeError: type object 'socket' has no attribute 'error'
======================================================================
ERROR: testNULLcert (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 116, in __init__
socket.getpeername(self)
socket.error: [Errno 107] Transport endpoint is not connected
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 780, in testNULLcert
"nullcert.pem"))
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 608, in badCertTest
ssl_version=ssl.PROTOCOL_TLSv1)
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 381, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 117, in __init__
except socket.error:
AttributeError: type object 'socket' has no attribute 'error'
======================================================================
ERROR: testProtocolSSL2 (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 116, in __init__
socket.getpeername(self)
socket.error: [Errno 107] Transport endpoint is not connected
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 647, in serverParamsTest
ssl_version=client_protocol)
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 381, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 117, in __init__
except socket.error:
AttributeError: type object 'socket' has no attribute 'error'
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 831, in testProtocolSSL2
tryProtocolCombo(ssl.PROTOCOL_SSLv2, ssl.PROTOCOL_SSLv2, True)
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 701, in tryProtocolCombo
chatty=False, connectionchatty=False)
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 652, in serverParamsTest
raise support.TestFailed("Unexpected exception: " + str(x))
test.support.TestFailed: Unexpected exception: type object 'socket' has no attribute 'error'
======================================================================
ERROR: testProtocolSSL23 (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 116, in __init__
socket.getpeername(self)
socket.error: [Errno 107] Transport endpoint is not connected
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 647, in serverParamsTest
ssl_version=client_protocol)
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 381, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 117, in __init__
except socket.error:
AttributeError: type object 'socket' has no attribute 'error'
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 849, in testProtocolSSL23
tryProtocolCombo(ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_SSLv3, True)
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 701, in tryProtocolCombo
chatty=False, connectionchatty=False)
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 652, in serverParamsTest
raise support.TestFailed("Unexpected exception: " + str(x))
test.support.TestFailed: Unexpected exception: type object 'socket' has no attribute 'error'
======================================================================
ERROR: testProtocolSSL3 (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 116, in __init__
socket.getpeername(self)
socket.error: [Errno 107] Transport endpoint is not connected
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 647, in serverParamsTest
ssl_version=client_protocol)
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 381, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 117, in __init__
except socket.error:
AttributeError: type object 'socket' has no attribute 'error'
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 864, in testProtocolSSL3
tryProtocolCombo(ssl.PROTOCOL_SSLv3, ssl.PROTOCOL_SSLv3, True)
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 701, in tryProtocolCombo
chatty=False, connectionchatty=False)
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 652, in serverParamsTest
raise support.TestFailed("Unexpected exception: " + str(x))
test.support.TestFailed: Unexpected exception: type object 'socket' has no attribute 'error'
======================================================================
ERROR: testProtocolTLS1 (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 116, in __init__
socket.getpeername(self)
socket.error: [Errno 107] Transport endpoint is not connected
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 647, in serverParamsTest
ssl_version=client_protocol)
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 381, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 117, in __init__
except socket.error:
AttributeError: type object 'socket' has no attribute 'error'
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 874, in testProtocolTLS1
tryProtocolCombo(ssl.PROTOCOL_TLSv1, ssl.PROTOCOL_TLSv1, True)
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 701, in tryProtocolCombo
chatty=False, connectionchatty=False)
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 652, in serverParamsTest
raise support.TestFailed("Unexpected exception: " + str(x))
test.support.TestFailed: Unexpected exception: type object 'socket' has no attribute 'error'
======================================================================
ERROR: testReadCert (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 116, in __init__
socket.getpeername(self)
socket.error: [Errno 107] Transport endpoint is not connected
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 744, in testReadCert
ssl_version=ssl.PROTOCOL_SSLv23)
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 381, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 117, in __init__
except socket.error:
AttributeError: type object 'socket' has no attribute 'error'
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 751, in testReadCert
"Unexpected exception: " + str(x))
test.support.TestFailed: Unexpected exception: type object 'socket' has no attribute 'error'
======================================================================
ERROR: testWrongCert (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 116, in __init__
socket.getpeername(self)
socket.error: [Errno 107] Transport endpoint is not connected
Traceback (most recent call last):
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 786, in testWrongCert
"wrongcert.pem"))
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 608, in badCertTest
ssl_version=ssl.PROTOCOL_TLSv1)
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 381, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/3.x.klose-ubuntu-i386/build/Lib/ssl.py", line 117, in __init__
except socket.error:
AttributeError: type object 'socket' has no attribute 'error'
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
1
0
Author: benjamin.peterson
Date: Wed Dec 31 05:13:40 2008
New Revision: 68094
Log:
Blocked revisions 68092 via svnmerge
........
r68092 | benjamin.peterson | 2008-12-30 22:08:55 -0600 (Tue, 30 Dec 2008) | 1 line
fix name collision issues
........
Modified:
python/branches/py3k/ (props changed)
1
0
Author: benjamin.peterson
Date: Wed Dec 31 05:10:35 2008
New Revision: 68093
Log:
fix name usage
Modified:
python/branches/py3k/Lib/ssl.py
Modified: python/branches/py3k/Lib/ssl.py
==============================================================================
--- python/branches/py3k/Lib/ssl.py (original)
+++ python/branches/py3k/Lib/ssl.py Wed Dec 31 05:10:35 2008
@@ -114,7 +114,7 @@
# see if it's connected
try:
socket.getpeername(self)
- except socket.error:
+ except socket_error:
# no, no connection yet
self._sslobj = None
else:
1
0
The Buildbot has detected a new failure of amd64 gentoo trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/amd64%20gentoo%20trunk/builds/1702
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: norwitz-amd64
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: benjamin.peterson
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_ssl
======================================================================
ERROR: testSSLconnect (test.test_ssl.BasicTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/test/test_ssl.py", line 59, in testSSLconnect
cert_reqs=ssl.CERT_NONE)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/ssl.py", line 350, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/ssl.py", line 106, in __init__
except socket.error:
AttributeError: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testConnect (test.test_ssl.NetworkedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/test/test_ssl.py", line 120, in testConnect
cert_reqs=ssl.CERT_NONE)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/ssl.py", line 350, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/ssl.py", line 106, in __init__
except socket.error:
AttributeError: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testFetchServerCert (test.test_ssl.NetworkedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/test/test_ssl.py", line 175, in testFetchServerCert
pem = ssl.get_server_certificate(("svn.python.org", 443))
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/ssl.py", line 410, in get_server_certificate
cert_reqs=cert_reqs, ca_certs=ca_certs)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/ssl.py", line 350, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/ssl.py", line 106, in __init__
except socket.error:
AttributeError: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testAllRecvAndSendMethods (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/test/test_ssl.py", line 1074, in testAllRecvAndSendMethods
raise support.TestFailed("Unexpected exception: " + str(x))
NameError: global name 'support' is not defined
======================================================================
ERROR: testAsyncoreServer (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/test/test_ssl.py", line 1023, in testAsyncoreServer
raise test_support.TestFailed("Unexpected exception: " + str(x))
TestFailed: Unexpected exception: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testEcho (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/test/test_ssl.py", line 767, in testEcho
chatty=True, connectionchatty=True)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/test/test_ssl.py", line 663, in serverParamsTest
raise test_support.TestFailed("Unexpected exception: " + str(x))
TestFailed: Unexpected exception: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testMalformedCert (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/test/test_ssl.py", line 829, in testMalformedCert
"badcert.pem"))
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/test/test_ssl.py", line 618, in badCertTest
ssl_version=ssl.PROTOCOL_TLSv1)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/ssl.py", line 350, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/ssl.py", line 106, in __init__
except socket.error:
AttributeError: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testMalformedKey (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/test/test_ssl.py", line 835, in testMalformedKey
"badkey.pem"))
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/test/test_ssl.py", line 618, in badCertTest
ssl_version=ssl.PROTOCOL_TLSv1)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/ssl.py", line 350, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/ssl.py", line 106, in __init__
except socket.error:
AttributeError: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testNULLcert (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/test/test_ssl.py", line 826, in testNULLcert
"nullcert.pem"))
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/test/test_ssl.py", line 618, in badCertTest
ssl_version=ssl.PROTOCOL_TLSv1)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/ssl.py", line 350, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/ssl.py", line 106, in __init__
except socket.error:
AttributeError: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testProtocolSSL2 (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/test/test_ssl.py", line 840, in testProtocolSSL2
tryProtocolCombo(ssl.PROTOCOL_SSLv2, ssl.PROTOCOL_SSLv2, True)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/test/test_ssl.py", line 710, in tryProtocolCombo
CERTFILE, CERTFILE, client_protocol, chatty=False)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/test/test_ssl.py", line 663, in serverParamsTest
raise test_support.TestFailed("Unexpected exception: " + str(x))
TestFailed: Unexpected exception: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testProtocolSSL23 (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/test/test_ssl.py", line 858, in testProtocolSSL23
tryProtocolCombo(ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_SSLv3, True)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/test/test_ssl.py", line 710, in tryProtocolCombo
CERTFILE, CERTFILE, client_protocol, chatty=False)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/test/test_ssl.py", line 663, in serverParamsTest
raise test_support.TestFailed("Unexpected exception: " + str(x))
TestFailed: Unexpected exception: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testProtocolSSL3 (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/test/test_ssl.py", line 873, in testProtocolSSL3
tryProtocolCombo(ssl.PROTOCOL_SSLv3, ssl.PROTOCOL_SSLv3, True)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/test/test_ssl.py", line 710, in tryProtocolCombo
CERTFILE, CERTFILE, client_protocol, chatty=False)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/test/test_ssl.py", line 663, in serverParamsTest
raise test_support.TestFailed("Unexpected exception: " + str(x))
TestFailed: Unexpected exception: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testProtocolTLS1 (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/test/test_ssl.py", line 883, in testProtocolTLS1
tryProtocolCombo(ssl.PROTOCOL_TLSv1, ssl.PROTOCOL_TLSv1, True)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/test/test_ssl.py", line 710, in tryProtocolCombo
CERTFILE, CERTFILE, client_protocol, chatty=False)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/test/test_ssl.py", line 663, in serverParamsTest
raise test_support.TestFailed("Unexpected exception: " + str(x))
TestFailed: Unexpected exception: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testReadCert (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/test/test_ssl.py", line 797, in testReadCert
"Unexpected exception: " + str(x))
TestFailed: Unexpected exception: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testWrappedAccept (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/test/test_ssl.py", line 1001, in testWrappedAccept
wrap_accepting_socket=True)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/test/test_ssl.py", line 644, in serverParamsTest
wrap_accepting_socket=wrap_accepting_socket)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/test/test_ssl.py", line 349, in __init__
ssl_version = self.protocol)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/ssl.py", line 350, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/ssl.py", line 106, in __init__
except socket.error:
AttributeError: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testWrongCert (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/test/test_ssl.py", line 832, in testWrongCert
"wrongcert.pem"))
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/test/test_ssl.py", line 618, in badCertTest
ssl_version=ssl.PROTOCOL_TLSv1)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/ssl.py", line 350, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/buildbot/slave/py-build/trunk.norwitz-amd64/build/Lib/ssl.py", line 106, in __init__
except socket.error:
AttributeError: type object '_socketobject' has no attribute 'error'
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
1
0
The Buildbot has detected a new failure of i386 Ubuntu trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/i386%20Ubuntu%20trunk/builds/614
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: klose-ubuntu-i386
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: benjamin.peterson
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_ssl
======================================================================
ERROR: testSSLconnect (test.test_ssl.BasicTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 59, in testSSLconnect
cert_reqs=ssl.CERT_NONE)
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/ssl.py", line 350, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/ssl.py", line 106, in __init__
except socket.error:
AttributeError: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testConnect (test.test_ssl.NetworkedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 120, in testConnect
cert_reqs=ssl.CERT_NONE)
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/ssl.py", line 350, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/ssl.py", line 106, in __init__
except socket.error:
AttributeError: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testFetchServerCert (test.test_ssl.NetworkedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 175, in testFetchServerCert
pem = ssl.get_server_certificate(("svn.python.org", 443))
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/ssl.py", line 410, in get_server_certificate
cert_reqs=cert_reqs, ca_certs=ca_certs)
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/ssl.py", line 350, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/ssl.py", line 106, in __init__
except socket.error:
AttributeError: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testAllRecvAndSendMethods (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 1074, in testAllRecvAndSendMethods
raise support.TestFailed("Unexpected exception: " + str(x))
NameError: global name 'support' is not defined
======================================================================
ERROR: testAsyncoreServer (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 1023, in testAsyncoreServer
raise test_support.TestFailed("Unexpected exception: " + str(x))
TestFailed: Unexpected exception: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testEcho (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 767, in testEcho
chatty=True, connectionchatty=True)
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 663, in serverParamsTest
raise test_support.TestFailed("Unexpected exception: " + str(x))
TestFailed: Unexpected exception: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testMalformedCert (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 829, in testMalformedCert
"badcert.pem"))
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 618, in badCertTest
ssl_version=ssl.PROTOCOL_TLSv1)
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/ssl.py", line 350, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/ssl.py", line 106, in __init__
except socket.error:
AttributeError: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testMalformedKey (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 835, in testMalformedKey
"badkey.pem"))
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 618, in badCertTest
ssl_version=ssl.PROTOCOL_TLSv1)
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/ssl.py", line 350, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/ssl.py", line 106, in __init__
except socket.error:
AttributeError: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testNULLcert (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 826, in testNULLcert
"nullcert.pem"))
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 618, in badCertTest
ssl_version=ssl.PROTOCOL_TLSv1)
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/ssl.py", line 350, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/ssl.py", line 106, in __init__
except socket.error:
AttributeError: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testProtocolSSL2 (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 840, in testProtocolSSL2
tryProtocolCombo(ssl.PROTOCOL_SSLv2, ssl.PROTOCOL_SSLv2, True)
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 710, in tryProtocolCombo
CERTFILE, CERTFILE, client_protocol, chatty=False)
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 663, in serverParamsTest
raise test_support.TestFailed("Unexpected exception: " + str(x))
TestFailed: Unexpected exception: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testProtocolSSL23 (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 858, in testProtocolSSL23
tryProtocolCombo(ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_SSLv3, True)
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 710, in tryProtocolCombo
CERTFILE, CERTFILE, client_protocol, chatty=False)
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 663, in serverParamsTest
raise test_support.TestFailed("Unexpected exception: " + str(x))
TestFailed: Unexpected exception: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testProtocolSSL3 (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 873, in testProtocolSSL3
tryProtocolCombo(ssl.PROTOCOL_SSLv3, ssl.PROTOCOL_SSLv3, True)
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 710, in tryProtocolCombo
CERTFILE, CERTFILE, client_protocol, chatty=False)
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 663, in serverParamsTest
raise test_support.TestFailed("Unexpected exception: " + str(x))
TestFailed: Unexpected exception: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testProtocolTLS1 (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 883, in testProtocolTLS1
tryProtocolCombo(ssl.PROTOCOL_TLSv1, ssl.PROTOCOL_TLSv1, True)
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 710, in tryProtocolCombo
CERTFILE, CERTFILE, client_protocol, chatty=False)
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 663, in serverParamsTest
raise test_support.TestFailed("Unexpected exception: " + str(x))
TestFailed: Unexpected exception: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testReadCert (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 797, in testReadCert
"Unexpected exception: " + str(x))
TestFailed: Unexpected exception: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testWrappedAccept (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 1001, in testWrappedAccept
wrap_accepting_socket=True)
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 644, in serverParamsTest
wrap_accepting_socket=wrap_accepting_socket)
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 349, in __init__
ssl_version = self.protocol)
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/ssl.py", line 350, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/ssl.py", line 106, in __init__
except socket.error:
AttributeError: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testWrongCert (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 832, in testWrongCert
"wrongcert.pem"))
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/test/test_ssl.py", line 618, in badCertTest
ssl_version=ssl.PROTOCOL_TLSv1)
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/ssl.py", line 350, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/pybot/buildarea/trunk.klose-ubuntu-i386/build/Lib/ssl.py", line 106, in __init__
except socket.error:
AttributeError: type object '_socketobject' has no attribute 'error'
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
1
0
The Buildbot has detected a new failure of x86 gentoo trunk.
Full details are available at:
http://www.python.org/dev/buildbot/all/x86%20gentoo%20trunk/builds/4386
Buildbot URL: http://www.python.org/dev/buildbot/all/
Buildslave for this Build: norwitz-x86
Build Reason:
Build Source Stamp: [branch trunk] HEAD
Blamelist: benjamin.peterson
BUILD FAILED: failed test
Excerpt from the test logfile:
1 test failed:
test_ssl
======================================================================
ERROR: testSSLconnect (test.test_ssl.BasicTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_ssl.py", line 59, in testSSLconnect
cert_reqs=ssl.CERT_NONE)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/ssl.py", line 350, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/ssl.py", line 106, in __init__
except socket.error:
AttributeError: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testConnect (test.test_ssl.NetworkedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_ssl.py", line 120, in testConnect
cert_reqs=ssl.CERT_NONE)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/ssl.py", line 350, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/ssl.py", line 106, in __init__
except socket.error:
AttributeError: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testFetchServerCert (test.test_ssl.NetworkedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_ssl.py", line 175, in testFetchServerCert
pem = ssl.get_server_certificate(("svn.python.org", 443))
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/ssl.py", line 410, in get_server_certificate
cert_reqs=cert_reqs, ca_certs=ca_certs)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/ssl.py", line 350, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/ssl.py", line 106, in __init__
except socket.error:
AttributeError: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testAllRecvAndSendMethods (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_ssl.py", line 1074, in testAllRecvAndSendMethods
raise support.TestFailed("Unexpected exception: " + str(x))
NameError: global name 'support' is not defined
======================================================================
ERROR: testAsyncoreServer (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_ssl.py", line 1023, in testAsyncoreServer
raise test_support.TestFailed("Unexpected exception: " + str(x))
TestFailed: Unexpected exception: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testEcho (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_ssl.py", line 767, in testEcho
chatty=True, connectionchatty=True)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_ssl.py", line 663, in serverParamsTest
raise test_support.TestFailed("Unexpected exception: " + str(x))
TestFailed: Unexpected exception: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testMalformedCert (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_ssl.py", line 829, in testMalformedCert
"badcert.pem"))
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_ssl.py", line 618, in badCertTest
ssl_version=ssl.PROTOCOL_TLSv1)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/ssl.py", line 350, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/ssl.py", line 106, in __init__
except socket.error:
AttributeError: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testMalformedKey (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_ssl.py", line 835, in testMalformedKey
"badkey.pem"))
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_ssl.py", line 618, in badCertTest
ssl_version=ssl.PROTOCOL_TLSv1)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/ssl.py", line 350, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/ssl.py", line 106, in __init__
except socket.error:
AttributeError: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testNULLcert (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_ssl.py", line 826, in testNULLcert
"nullcert.pem"))
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_ssl.py", line 618, in badCertTest
ssl_version=ssl.PROTOCOL_TLSv1)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/ssl.py", line 350, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/ssl.py", line 106, in __init__
except socket.error:
AttributeError: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testProtocolSSL2 (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_ssl.py", line 840, in testProtocolSSL2
tryProtocolCombo(ssl.PROTOCOL_SSLv2, ssl.PROTOCOL_SSLv2, True)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_ssl.py", line 710, in tryProtocolCombo
CERTFILE, CERTFILE, client_protocol, chatty=False)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_ssl.py", line 663, in serverParamsTest
raise test_support.TestFailed("Unexpected exception: " + str(x))
TestFailed: Unexpected exception: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testProtocolSSL23 (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_ssl.py", line 858, in testProtocolSSL23
tryProtocolCombo(ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_SSLv3, True)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_ssl.py", line 710, in tryProtocolCombo
CERTFILE, CERTFILE, client_protocol, chatty=False)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_ssl.py", line 663, in serverParamsTest
raise test_support.TestFailed("Unexpected exception: " + str(x))
TestFailed: Unexpected exception: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testProtocolSSL3 (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_ssl.py", line 873, in testProtocolSSL3
tryProtocolCombo(ssl.PROTOCOL_SSLv3, ssl.PROTOCOL_SSLv3, True)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_ssl.py", line 710, in tryProtocolCombo
CERTFILE, CERTFILE, client_protocol, chatty=False)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_ssl.py", line 663, in serverParamsTest
raise test_support.TestFailed("Unexpected exception: " + str(x))
TestFailed: Unexpected exception: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testProtocolTLS1 (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_ssl.py", line 883, in testProtocolTLS1
tryProtocolCombo(ssl.PROTOCOL_TLSv1, ssl.PROTOCOL_TLSv1, True)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_ssl.py", line 710, in tryProtocolCombo
CERTFILE, CERTFILE, client_protocol, chatty=False)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_ssl.py", line 663, in serverParamsTest
raise test_support.TestFailed("Unexpected exception: " + str(x))
TestFailed: Unexpected exception: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testReadCert (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_ssl.py", line 797, in testReadCert
"Unexpected exception: " + str(x))
TestFailed: Unexpected exception: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testWrappedAccept (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_ssl.py", line 1001, in testWrappedAccept
wrap_accepting_socket=True)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_ssl.py", line 644, in serverParamsTest
wrap_accepting_socket=wrap_accepting_socket)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_ssl.py", line 349, in __init__
ssl_version = self.protocol)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/ssl.py", line 350, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/ssl.py", line 106, in __init__
except socket.error:
AttributeError: type object '_socketobject' has no attribute 'error'
======================================================================
ERROR: testWrongCert (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_ssl.py", line 832, in testWrongCert
"wrongcert.pem"))
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/test/test_ssl.py", line 618, in badCertTest
ssl_version=ssl.PROTOCOL_TLSv1)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/ssl.py", line 350, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/home/buildslave/python-trunk/trunk.norwitz-x86/build/Lib/ssl.py", line 106, in __init__
except socket.error:
AttributeError: type object '_socketobject' has no attribute 'error'
make: *** [buildbottest] Error 1
sincerely,
-The Buildbot
1
0