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
e995d16f
Commit
e995d16f
authored
May 11, 2018
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixup some xrefs in docs. [skip ci]
parent
7835efda
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
11 deletions
+13
-11
doc/api/gevent.greenlet.rst
doc/api/gevent.greenlet.rst
+1
-1
doc/intro.rst
doc/intro.rst
+1
-1
doc/whatsnew_1_3.rst
doc/whatsnew_1_3.rst
+11
-9
No files found.
doc/api/gevent.greenlet.rst
View file @
e995d16f
...
...
@@ -144,7 +144,7 @@ yet and thus would evaluate to False.
.. attribute:: Greenlet.spawning_stack
A lightweight
frame
-like object capturing the stack when
A lightweight
:obj:`frame <types.FrameType>`
-like object capturing the stack when
this greenlet was created as well as the stack when the spawning
greenlet was created (if applicable). This can be passed to
:func:`traceback.print_stack`.
...
...
doc/intro.rst
View file @
e995d16f
...
...
@@ -190,7 +190,7 @@ by default.
A low-level event loop API is available under the
:mod:`gevent.core` module. This module is not documented, not meant
for general purpose usage, and it
'
s exact contents and semantics
for general purpose usage, and its exact contents and semantics
change slightly depending on whether the libev or libuv event loop
is being used. The callbacks supplied to the event loop API are run
in the :class:`~gevent.hub.Hub` greenlet and thus cannot use the
...
...
doc/whatsnew_1_3.rst
View file @
e995d16f
...
...
@@ -44,7 +44,7 @@ gevent 1.3 supports Python 2.7, 3.4, 3.5, 3.6 and 3.7 on the CPython
implementation.
Python 3.7 is in the process of release right now and gevent is tested
with 3.7b
3
.
with 3.7b
4, the last scheduled beta for Python 3.7
.
For ease of installation on Windows, OS X and Linux, gevent 1.3 is
distributed as pre-compiled binary wheels, in addition to source code.
...
...
@@ -67,20 +67,22 @@ Greenlet Attributes
attributes:
- :attr:`Greenlet.spawning_greenlet` is the greenlet that created this
greenlet. Since the ``parent`` is usually the hub, this can be more
useful.
greenlet. Since the ``parent`` of a greenlet is almost always gevent's
:class:`hub <gevent.hub.Hub>`, this can be more
useful to understand greenlet relationships.
- :attr:`Greenlet.spawn_tree_locals` is a dictionary of values
maintained through the spawn tree. This is handy to share values
between a set of greenlets, for example, all those involved in
processing a request.
- :attr:`Greenlet.spawning_stack` is a `frame` -like object that
captures where the greenlet was created.
maintained through the spawn tree (i.e., all descendents of a
particular greenlet based on ``spawning_greenlet``). This is
convenient to share values between a set of greenlets, for example,
all those involved in processing a request.
- :attr:`Greenlet.spawning_stack` is a :obj:`frame <types.FrameType>` -like object that
captures where the greenlet was created and can be passed to :func:`traceback.print_stack`.
- :attr:`Greenlet.minimal_ident` is a small integer unique across all
greenlets.
- :attr:`Greenlet.name` is a string printed in the greenlet's repr by default.
"Raw" greenlets created with `spawn_raw` default to having the
``spawning_
paren
t`` and ``spawn_tree_locals``.
``spawning_
greenle
t`` and ``spawn_tree_locals``.
This extra data is printed by the new
:func:`gevent.util.print_run_info` function.
...
...
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