Commit 1517b80f authored by Jason Madden's avatar Jason Madden

changelog and fix an import error for win32 3.5

parent f3c441de
......@@ -31,6 +31,7 @@
:class:`gevent.lock.Semaphore`, which was unintentionally removed
as part of making ``Semaphore`` atomic on PyPy on 1.1b1. Reported in
:issue:`666` by Ivan-Zhu.
- Build Windows wheels for Python 3.5. Reported in :pr:`665` by Hexchain Tong.
.. _details: https://mail.python.org/pipermail/cython-devel/2015-October/004571.html
......
......@@ -449,7 +449,11 @@ if hasattr(_socket, "socketpair"):
b = socket(family, type, proto, b.detach())
return a, b
else:
elif 'socketpair' in __implements__:
# Win32: not available
# Multiple imports can cause this to be missing if _socketcommon
# was successfully imported, leading to subsequent imports to cause
# ValueError
__implements__.remove('socketpair')
......
......@@ -3,9 +3,9 @@ import socket
import unittest
class Test(unittest.TestCase):
class TestSocketpair(unittest.TestCase):
def test(self):
def test_makefile(self):
msg = b'hello world'
x, y = socket.socketpair()
x.sendall(msg)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment