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
8e7381f8
Commit
8e7381f8
authored
Aug 05, 2015
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
versionXXX directives take two colons. [skip ci]
parent
18751514
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
gevent/greenlet.py
gevent/greenlet.py
+1
-1
gevent/os.py
gevent/os.py
+4
-2
No files found.
gevent/greenlet.py
View file @
8e7381f8
...
@@ -508,7 +508,7 @@ class Greenlet(greenlet):
...
@@ -508,7 +508,7 @@ class Greenlet(greenlet):
def
_run
(
self
):
def
_run
(
self
):
"""Subclasses may override this method to take any number of arguments and keyword arguments.
"""Subclasses may override this method to take any number of arguments and keyword arguments.
.. versionadded: 1.1a3
.. versionadded:
:
1.1a3
Previously, if no callable object was passed to the constructor, the spawned greenlet would
Previously, if no callable object was passed to the constructor, the spawned greenlet would
later fail with an AttributeError.
later fail with an AttributeError.
"""
"""
...
...
gevent/os.py
View file @
8e7381f8
...
@@ -230,7 +230,7 @@ if hasattr(os, 'fork'):
...
@@ -230,7 +230,7 @@ if hasattr(os, 'fork'):
Availability: POSIX.
Availability: POSIX.
.. versionadded: 1.1a3
.. versionadded:
:
1.1a3
"""
"""
# XXX Does not handle tracing children
# XXX Does not handle tracing children
if
pid
<=
0
:
if
pid
<=
0
:
...
@@ -285,7 +285,7 @@ if hasattr(os, 'fork'):
...
@@ -285,7 +285,7 @@ if hasattr(os, 'fork'):
Pass the builtin :func:`os.fork` function if you do not need to
Pass the builtin :func:`os.fork` function if you do not need to
initialize gevent in the child process.
initialize gevent in the child process.
.. versionadded: 1.1a3
.. versionadded:
:
1.1a3
"""
"""
pid
=
fork
()
pid
=
fork
()
if
pid
:
if
pid
:
...
@@ -309,6 +309,8 @@ if hasattr(os, 'fork'):
...
@@ -309,6 +309,8 @@ if hasattr(os, 'fork'):
This implementation of ``fork`` is a wrapper for :func:`fork_and_watch`
This implementation of ``fork`` is a wrapper for :func:`fork_and_watch`
when the environment variable ``GEVENT_NOWAITPID`` is *not* defined.
when the environment variable ``GEVENT_NOWAITPID`` is *not* defined.
This is the default and should be used by most applications.
This is the default and should be used by most applications.
.. versionchanged:: 1.1b2
"""
"""
# take any args to match fork_and_watch
# take any args to match fork_and_watch
return
fork_and_watch
(
*
args
,
**
kwargs
)
return
fork_and_watch
(
*
args
,
**
kwargs
)
...
...
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