Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
1517b80f
Commit
1517b80f
authored
Oct 16, 2015
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changelog and fix an import error for win32 3.5
parent
f3c441de
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
changelog.rst
changelog.rst
+1
-0
gevent/_socket3.py
gevent/_socket3.py
+5
-1
greentest/test__socketpair.py
greentest/test__socketpair.py
+2
-2
No files found.
changelog.rst
View file @
1517b80f
...
...
@@ -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
...
...
gevent/_socket3.py
View file @
1517b80f
...
...
@@ -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'
)
...
...
greentest/test__socketpair.py
View file @
1517b80f
...
...
@@ -3,9 +3,9 @@ import socket
import
unittest
class
Test
(
unittest
.
TestCase
):
class
Test
Socketpair
(
unittest
.
TestCase
):
def
test
(
self
):
def
test
_makefile
(
self
):
msg
=
b'hello world'
x
,
y
=
socket
.
socketpair
()
x
.
sendall
(
msg
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment