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
b89f1ad2
Commit
b89f1ad2
authored
Nov 30, 2015
by
Jason Madden
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #691 from ashutosh-mishra/typo_fix
Typo fix. Corrected spellings.
parents
941b35e3
e81437f7
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
10 additions
and
9 deletions
+10
-9
gevent/_fileobjectposix.py
gevent/_fileobjectposix.py
+1
-1
gevent/_semaphore.pyx
gevent/_semaphore.pyx
+1
-1
gevent/_ssl2.py
gevent/_ssl2.py
+1
-1
gevent/_sslgte279.py
gevent/_sslgte279.py
+1
-1
gevent/_tblib.py
gevent/_tblib.py
+1
-1
gevent/pywsgi.py
gevent/pywsgi.py
+3
-2
gevent/subprocess.py
gevent/subprocess.py
+1
-1
gevent/win32util.py
gevent/win32util.py
+1
-1
No files found.
gevent/_fileobjectposix.py
View file @
b89f1ad2
...
...
@@ -233,7 +233,7 @@ class FileObjectPosix(object):
@
property
def
closed
(
self
):
"""True if the file is cloed"""
"""True if the file is clo
s
ed"""
return
self
.
_closed
def
close
(
self
):
...
...
gevent/_semaphore.pyx
View file @
b89f1ad2
...
...
@@ -32,7 +32,7 @@ class Semaphore(object):
# _notifier are such attributes, and gevent.thread subclasses
# this class. Thus, we carefully manage the lifetime of the
# objects we put in these attributes so that, in the normal
# case of a semaphore used correctly (dealloced when it's not
# case of a semaphore used correctly (dealloc
at
ed when it's not
# locked and no one is waiting), the leak goes away (because
# these objects are back to None). This can also be solved on PyPy
# by simply not declaring these objects in the pxd file, but that doesn't work for
...
...
gevent/_ssl2.py
View file @
b89f1ad2
...
...
@@ -437,6 +437,6 @@ def get_server_certificate(addr, ssl_version=PROTOCOL_SSLv23, ca_certs=None):
def
sslwrap_simple
(
sock
,
keyfile
=
None
,
certfile
=
None
):
"""A replacement for the old socket.ssl function. Designed
for compability with Python 2.5 and earlier. Will disappear in
for compa
ta
bility with Python 2.5 and earlier. Will disappear in
Python 3.0."""
return
SSLSocket
(
sock
,
keyfile
,
certfile
)
gevent/_sslgte279.py
View file @
b89f1ad2
...
...
@@ -216,7 +216,7 @@ class SSLSocket(socket):
socket
.
__init__
(
self
,
_sock
=
sock
.
_sock
)
# The initializer for socket overrides the methods send(), recv(), etc.
# in the instanc
c
e, which we don't need -- but we want to provide the
# in the instance, which we don't need -- but we want to provide the
# methods defined in SSLSocket.
for
attr
in
_delegate_methods
:
try
:
...
...
gevent/_tblib.py
View file @
b89f1ad2
...
...
@@ -227,7 +227,7 @@ def install():
# Added by gevent
# We have to defer the initilization, and especially the import of platform,
# We have to defer the initi
a
lization, and especially the import of platform,
# until runtime. If we're monkey patched, we need to be sure to use
# the original __import__ to avoid switching through the hub due to
# import locks on Python 2. See also builtins.py for details.
...
...
gevent/pywsgi.py
View file @
b89f1ad2
...
...
@@ -170,7 +170,8 @@ class Input(object):
# To cope with malicious or broken clients that fail to send valid
# chunk lines, the strategy is to read character by character until we either reach
# a ; or newline. If at any time we read a non-HEX digit, we bail. If we hit a
# ;, indicating an chunk-extension, we'll read up to the next MAX_REQUEST_LINE charaters
# ;, indicating an chunk-extension, we'll read up to the next
# MAX_REQUEST_LINE characters
# looking for the CRLF, and if we don't find it, we bail. If we read more than 16 hex characters,
# (the number needed to represent a 64-bit chunk size), we bail (this protects us from
# a client that sends an infinite stream of `F`, for example).
...
...
@@ -724,7 +725,7 @@ class WSGIHandler(object):
# "Servers should check for errors in the headers at the time
# start_response is called, so that an error can be raised
# while the application is still running." Here, we check the encoding.
# This aids debuging: headers especially are generated programatically
# This aids debug
g
ing: headers especially are generated programatically
# and an encoding error in a loop or list comprehension yields an opaque
# UnicodeError without any clue which header was wrong.
# Note that this results in copying the header list at this point, not modifying it,
...
...
gevent/subprocess.py
View file @
b89f1ad2
...
...
@@ -755,7 +755,7 @@ class Popen(object):
DUPLICATE_SAME_ACCESS
)
def
_find_w9xpopen
(
self
):
"""Find and return absolut path to w9xpopen.exe"""
"""Find and return absolut
e
path to w9xpopen.exe"""
w9xpopen
=
os
.
path
.
join
(
os
.
path
.
dirname
(
GetModuleFileName
(
0
)),
"w9xpopen.exe"
)
if
not
os
.
path
.
exists
(
w9xpopen
):
...
...
gevent/win32util.py
View file @
b89f1ad2
...
...
@@ -43,7 +43,7 @@ class _ErrorFormatter(object):
L{win32api.FormatMessage}).
@ivar errorTab: A mapping from integer error numbers to C{str} messages
which correspond to those er
or
rs (like L{socket.errorTab}).
which correspond to those er
ro
rs (like L{socket.errorTab}).
"""
def
__init__
(
self
,
WinError
,
FormatMessage
,
errorTab
):
self
.
winError
=
WinError
...
...
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