diff options
Diffstat (limited to 'doc/modules')
| -rw-r--r-- | doc/modules/backdoor.html | 6 | ||||
| -rw-r--r-- | doc/modules/corolocal.html | 6 | ||||
| -rw-r--r-- | doc/modules/dagpool.html | 6 | ||||
| -rw-r--r-- | doc/modules/db_pool.html | 6 | ||||
| -rw-r--r-- | doc/modules/debug.html | 8 | ||||
| -rw-r--r-- | doc/modules/event.html | 10 | ||||
| -rw-r--r-- | doc/modules/greenpool.html | 8 | ||||
| -rw-r--r-- | doc/modules/greenthread.html | 6 | ||||
| -rw-r--r-- | doc/modules/pools.html | 8 | ||||
| -rw-r--r-- | doc/modules/queue.html | 12 | ||||
| -rw-r--r-- | doc/modules/semaphore.html | 12 | ||||
| -rw-r--r-- | doc/modules/timeout.html | 10 | ||||
| -rw-r--r-- | doc/modules/websocket.html | 6 | ||||
| -rw-r--r-- | doc/modules/wsgi.html | 6 | ||||
| -rw-r--r-- | doc/modules/zmq.html | 6 |
15 files changed, 58 insertions, 58 deletions
diff --git a/doc/modules/backdoor.html b/doc/modules/backdoor.html index 55ff537..d15b1ac 100644 --- a/doc/modules/backdoor.html +++ b/doc/modules/backdoor.html @@ -6,7 +6,7 @@ <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" /> - <title>backdoor – Python interactive interpreter within a running process — Eventlet 0.32.0 documentation</title> + <title>backdoor – Python interactive interpreter within a running process — Eventlet 0.33.0 documentation</title> <link rel="stylesheet" type="text/css" href="../_static/pygments.css" /> <link rel="stylesheet" type="text/css" href="../_static/classic.css" /> @@ -35,7 +35,7 @@ <li class="right" > <a href="../modules.html" title="Module Reference" accesskey="P">previous</a> |</li> - <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.32.0 documentation</a> »</li> + <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.33.0 documentation</a> »</li> <li class="nav-item nav-item-1"><a href="../modules.html" accesskey="U">Module Reference</a> »</li> <li class="nav-item nav-item-this"><a href=""><code class="xref py py-mod docutils literal notranslate"><span class="pre">backdoor</span></code> – Python interactive interpreter within a running process</a></li> </ul> @@ -157,7 +157,7 @@ variables in here.</p> <li class="right" > <a href="../modules.html" title="Module Reference" >previous</a> |</li> - <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.32.0 documentation</a> »</li> + <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.33.0 documentation</a> »</li> <li class="nav-item nav-item-1"><a href="../modules.html" >Module Reference</a> »</li> <li class="nav-item nav-item-this"><a href=""><code class="xref py py-mod docutils literal notranslate"><span class="pre">backdoor</span></code> – Python interactive interpreter within a running process</a></li> </ul> diff --git a/doc/modules/corolocal.html b/doc/modules/corolocal.html index 2be6da5..b55f421 100644 --- a/doc/modules/corolocal.html +++ b/doc/modules/corolocal.html @@ -6,7 +6,7 @@ <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" /> - <title>corolocal – Coroutine local storage — Eventlet 0.32.0 documentation</title> + <title>corolocal – Coroutine local storage — Eventlet 0.33.0 documentation</title> <link rel="stylesheet" type="text/css" href="../_static/pygments.css" /> <link rel="stylesheet" type="text/css" href="../_static/classic.css" /> @@ -35,7 +35,7 @@ <li class="right" > <a href="backdoor.html" title="backdoor – Python interactive interpreter within a running process" accesskey="P">previous</a> |</li> - <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.32.0 documentation</a> »</li> + <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.33.0 documentation</a> »</li> <li class="nav-item nav-item-1"><a href="../modules.html" accesskey="U">Module Reference</a> »</li> <li class="nav-item nav-item-this"><a href=""><code class="xref py py-mod docutils literal notranslate"><span class="pre">corolocal</span></code> – Coroutine local storage</a></li> </ul> @@ -110,7 +110,7 @@ <li class="right" > <a href="backdoor.html" title="backdoor – Python interactive interpreter within a running process" >previous</a> |</li> - <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.32.0 documentation</a> »</li> + <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.33.0 documentation</a> »</li> <li class="nav-item nav-item-1"><a href="../modules.html" >Module Reference</a> »</li> <li class="nav-item nav-item-this"><a href=""><code class="xref py py-mod docutils literal notranslate"><span class="pre">corolocal</span></code> – Coroutine local storage</a></li> </ul> diff --git a/doc/modules/dagpool.html b/doc/modules/dagpool.html index 49b3f6d..0043b45 100644 --- a/doc/modules/dagpool.html +++ b/doc/modules/dagpool.html @@ -6,7 +6,7 @@ <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" /> - <title>dagpool – Dependency-Driven Greenthreads — Eventlet 0.32.0 documentation</title> + <title>dagpool – Dependency-Driven Greenthreads — Eventlet 0.33.0 documentation</title> <link rel="stylesheet" type="text/css" href="../_static/pygments.css" /> <link rel="stylesheet" type="text/css" href="../_static/classic.css" /> @@ -35,7 +35,7 @@ <li class="right" > <a href="corolocal.html" title="corolocal – Coroutine local storage" accesskey="P">previous</a> |</li> - <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.32.0 documentation</a> »</li> + <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.33.0 documentation</a> »</li> <li class="nav-item nav-item-1"><a href="../modules.html" accesskey="U">Module Reference</a> »</li> <li class="nav-item nav-item-this"><a href=""><code class="xref py py-mod docutils literal notranslate"><span class="pre">dagpool</span></code> – Dependency-Driven Greenthreads</a></li> </ul> @@ -815,7 +815,7 @@ PropagateError.</p> <li class="right" > <a href="corolocal.html" title="corolocal – Coroutine local storage" >previous</a> |</li> - <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.32.0 documentation</a> »</li> + <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.33.0 documentation</a> »</li> <li class="nav-item nav-item-1"><a href="../modules.html" >Module Reference</a> »</li> <li class="nav-item nav-item-this"><a href=""><code class="xref py py-mod docutils literal notranslate"><span class="pre">dagpool</span></code> – Dependency-Driven Greenthreads</a></li> </ul> diff --git a/doc/modules/db_pool.html b/doc/modules/db_pool.html index 7bcf458..3a5c881 100644 --- a/doc/modules/db_pool.html +++ b/doc/modules/db_pool.html @@ -6,7 +6,7 @@ <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" /> - <title>db_pool – DBAPI 2 database connection pooling — Eventlet 0.32.0 documentation</title> + <title>db_pool – DBAPI 2 database connection pooling — Eventlet 0.33.0 documentation</title> <link rel="stylesheet" type="text/css" href="../_static/pygments.css" /> <link rel="stylesheet" type="text/css" href="../_static/classic.css" /> @@ -35,7 +35,7 @@ <li class="right" > <a href="debug.html" title="debug – Debugging tools for Eventlet" accesskey="P">previous</a> |</li> - <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.32.0 documentation</a> »</li> + <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.33.0 documentation</a> »</li> <li class="nav-item nav-item-1"><a href="../modules.html" accesskey="U">Module Reference</a> »</li> <li class="nav-item nav-item-this"><a href=""><code class="xref py py-mod docutils literal notranslate"><span class="pre">db_pool</span></code> – DBAPI 2 database connection pooling</a></li> </ul> @@ -473,7 +473,7 @@ called a second time.</p> <li class="right" > <a href="debug.html" title="debug – Debugging tools for Eventlet" >previous</a> |</li> - <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.32.0 documentation</a> »</li> + <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.33.0 documentation</a> »</li> <li class="nav-item nav-item-1"><a href="../modules.html" >Module Reference</a> »</li> <li class="nav-item nav-item-this"><a href=""><code class="xref py py-mod docutils literal notranslate"><span class="pre">db_pool</span></code> – DBAPI 2 database connection pooling</a></li> </ul> diff --git a/doc/modules/debug.html b/doc/modules/debug.html index e91b636..500a773 100644 --- a/doc/modules/debug.html +++ b/doc/modules/debug.html @@ -6,7 +6,7 @@ <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" /> - <title>debug – Debugging tools for Eventlet — Eventlet 0.32.0 documentation</title> + <title>debug – Debugging tools for Eventlet — Eventlet 0.33.0 documentation</title> <link rel="stylesheet" type="text/css" href="../_static/pygments.css" /> <link rel="stylesheet" type="text/css" href="../_static/classic.css" /> @@ -35,7 +35,7 @@ <li class="right" > <a href="dagpool.html" title="dagpool – Dependency-Driven Greenthreads" accesskey="P">previous</a> |</li> - <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.32.0 documentation</a> »</li> + <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.33.0 documentation</a> »</li> <li class="nav-item nav-item-1"><a href="../modules.html" accesskey="U">Module Reference</a> »</li> <li class="nav-item nav-item-this"><a href=""><code class="xref py py-mod docutils literal notranslate"><span class="pre">debug</span></code> – Debugging tools for Eventlet</a></li> </ul> @@ -77,7 +77,7 @@ greenlet is resumed. Therefore, any code that runs for a long time without yielding to the hub will get interrupted by the blocking detector (don’t use it in production!).</p> <p>The <em>resolution</em> argument governs how long the SIGALARM timeout -waits in seconds. The implementation uses <a class="reference external" href="https://docs.python.org/3/library/signal.html#signal.setitimer" title="(in Python v3.9)"><code class="xref py py-func docutils literal notranslate"><span class="pre">signal.setitimer()</span></code></a> +waits in seconds. The implementation uses <a class="reference external" href="https://docs.python.org/3/library/signal.html#signal.setitimer" title="(in Python v3.10)"><code class="xref py py-func docutils literal notranslate"><span class="pre">signal.setitimer()</span></code></a> and can be specified as a floating-point value. The shorter the resolution, the greater the chance of false positives.</p> @@ -191,7 +191,7 @@ it normally does.</p> <li class="right" > <a href="dagpool.html" title="dagpool – Dependency-Driven Greenthreads" >previous</a> |</li> - <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.32.0 documentation</a> »</li> + <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.33.0 documentation</a> »</li> <li class="nav-item nav-item-1"><a href="../modules.html" >Module Reference</a> »</li> <li class="nav-item nav-item-this"><a href=""><code class="xref py py-mod docutils literal notranslate"><span class="pre">debug</span></code> – Debugging tools for Eventlet</a></li> </ul> diff --git a/doc/modules/event.html b/doc/modules/event.html index 071b0af..ea1db34 100644 --- a/doc/modules/event.html +++ b/doc/modules/event.html @@ -6,7 +6,7 @@ <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" /> - <title>event – Cross-greenthread primitive — Eventlet 0.32.0 documentation</title> + <title>event – Cross-greenthread primitive — Eventlet 0.33.0 documentation</title> <link rel="stylesheet" type="text/css" href="../_static/pygments.css" /> <link rel="stylesheet" type="text/css" href="../_static/classic.css" /> @@ -35,7 +35,7 @@ <li class="right" > <a href="db_pool.html" title="db_pool – DBAPI 2 database connection pooling" accesskey="P">previous</a> |</li> - <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.32.0 documentation</a> »</li> + <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.33.0 documentation</a> »</li> <li class="nav-item nav-item-1"><a href="../modules.html" accesskey="U">Module Reference</a> »</li> <li class="nav-item nav-item-this"><a href=""><code class="xref py py-mod docutils literal notranslate"><span class="pre">event</span></code> – Cross-greenthread primitive</a></li> </ul> @@ -134,7 +134,7 @@ new stacktrace.</p> </pre></div> </div> <p>If it’s important to preserve the entire original stack trace, -you must pass in the entire <a class="reference external" href="https://docs.python.org/3/library/sys.html#sys.exc_info" title="(in Python v3.9)"><code class="xref py py-func docutils literal notranslate"><span class="pre">sys.exc_info()</span></code></a> tuple.</p> +you must pass in the entire <a class="reference external" href="https://docs.python.org/3/library/sys.html#sys.exc_info" title="(in Python v3.10)"><code class="xref py py-func docutils literal notranslate"><span class="pre">sys.exc_info()</span></code></a> tuple.</p> <div class="doctest highlight-default notranslate"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="kn">import</span> <span class="nn">sys</span> <span class="gp">>>> </span><span class="n">evt</span> <span class="o">=</span> <span class="n">event</span><span class="o">.</span><span class="n">Event</span><span class="p">()</span> <span class="gp">>>> </span><span class="k">try</span><span class="p">:</span> @@ -153,7 +153,7 @@ you must pass in the entire <a class="reference external" href="https://docs.pyt </div> <p>Note that doing so stores a traceback object directly on the Event object, which may cause reference cycles. See the -<a class="reference external" href="https://docs.python.org/3/library/sys.html#sys.exc_info" title="(in Python v3.9)"><code class="xref py py-func docutils literal notranslate"><span class="pre">sys.exc_info()</span></code></a> documentation.</p> +<a class="reference external" href="https://docs.python.org/3/library/sys.html#sys.exc_info" title="(in Python v3.10)"><code class="xref py py-func docutils literal notranslate"><span class="pre">sys.exc_info()</span></code></a> documentation.</p> </dd></dl> <dl class="py method"> @@ -234,7 +234,7 @@ specifying a timeout for the operation in seconds (or fractions thereof).</p> <li class="right" > <a href="db_pool.html" title="db_pool – DBAPI 2 database connection pooling" >previous</a> |</li> - <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.32.0 documentation</a> »</li> + <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.33.0 documentation</a> »</li> <li class="nav-item nav-item-1"><a href="../modules.html" >Module Reference</a> »</li> <li class="nav-item nav-item-this"><a href=""><code class="xref py py-mod docutils literal notranslate"><span class="pre">event</span></code> – Cross-greenthread primitive</a></li> </ul> diff --git a/doc/modules/greenpool.html b/doc/modules/greenpool.html index 42d497d..ac8ab29 100644 --- a/doc/modules/greenpool.html +++ b/doc/modules/greenpool.html @@ -6,7 +6,7 @@ <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" /> - <title>greenpool – Green Thread Pools — Eventlet 0.32.0 documentation</title> + <title>greenpool – Green Thread Pools — Eventlet 0.33.0 documentation</title> <link rel="stylesheet" type="text/css" href="../_static/pygments.css" /> <link rel="stylesheet" type="text/css" href="../_static/classic.css" /> @@ -35,7 +35,7 @@ <li class="right" > <a href="event.html" title="event – Cross-greenthread primitive" accesskey="P">previous</a> |</li> - <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.32.0 documentation</a> »</li> + <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.33.0 documentation</a> »</li> <li class="nav-item nav-item-1"><a href="../modules.html" accesskey="U">Module Reference</a> »</li> <li class="nav-item nav-item-this"><a href=""><code class="xref py py-mod docutils literal notranslate"><span class="pre">greenpool</span></code> – Green Thread Pools</a></li> </ul> @@ -146,7 +146,7 @@ None; the results of <em>function</em> are not retrievable.</p> <dl class="py method"> <dt class="sig sig-object py" id="eventlet.greenpool.GreenPool.starmap"> <span class="sig-name descname"><span class="pre">starmap</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">function</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">iterable</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#eventlet.greenpool.GreenPool.starmap" title="Permalink to this definition">¶</a></dt> -<dd><p>This is the same as <a class="reference external" href="https://docs.python.org/3/library/itertools.html#itertools.starmap" title="(in Python v3.9)"><code class="xref py py-func docutils literal notranslate"><span class="pre">itertools.starmap()</span></code></a>, except that <em>func</em> is +<dd><p>This is the same as <a class="reference external" href="https://docs.python.org/3/library/itertools.html#itertools.starmap" title="(in Python v3.10)"><code class="xref py py-func docutils literal notranslate"><span class="pre">itertools.starmap()</span></code></a>, except that <em>func</em> is executed in a separate green thread for each item, with the concurrency limited by the pool’s size. In operation, starmap consumes a constant amount of memory, proportional to the size of the pool, and is thus @@ -218,7 +218,7 @@ suited for iterating over extremely long input lists.</p> <li class="right" > <a href="event.html" title="event – Cross-greenthread primitive" >previous</a> |</li> - <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.32.0 documentation</a> »</li> + <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.33.0 documentation</a> »</li> <li class="nav-item nav-item-1"><a href="../modules.html" >Module Reference</a> »</li> <li class="nav-item nav-item-this"><a href=""><code class="xref py py-mod docutils literal notranslate"><span class="pre">greenpool</span></code> – Green Thread Pools</a></li> </ul> diff --git a/doc/modules/greenthread.html b/doc/modules/greenthread.html index c0874a3..ed12d8e 100644 --- a/doc/modules/greenthread.html +++ b/doc/modules/greenthread.html @@ -6,7 +6,7 @@ <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" /> - <title>greenthread – Green Thread Implementation — Eventlet 0.32.0 documentation</title> + <title>greenthread – Green Thread Implementation — Eventlet 0.33.0 documentation</title> <link rel="stylesheet" type="text/css" href="../_static/pygments.css" /> <link rel="stylesheet" type="text/css" href="../_static/classic.css" /> @@ -35,7 +35,7 @@ <li class="right" > <a href="greenpool.html" title="greenpool – Green Thread Pools" accesskey="P">previous</a> |</li> - <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.32.0 documentation</a> »</li> + <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.33.0 documentation</a> »</li> <li class="nav-item nav-item-1"><a href="../modules.html" accesskey="U">Module Reference</a> »</li> <li class="nav-item nav-item-this"><a href=""><code class="xref py py-mod docutils literal notranslate"><span class="pre">greenthread</span></code> – Green Thread Implementation</a></li> </ul> @@ -248,7 +248,7 @@ trace; the print can be disabled by calling <li class="right" > <a href="greenpool.html" title="greenpool – Green Thread Pools" >previous</a> |</li> - <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.32.0 documentation</a> »</li> + <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.33.0 documentation</a> »</li> <li class="nav-item nav-item-1"><a href="../modules.html" >Module Reference</a> »</li> <li class="nav-item nav-item-this"><a href=""><code class="xref py py-mod docutils literal notranslate"><span class="pre">greenthread</span></code> – Green Thread Implementation</a></li> </ul> diff --git a/doc/modules/pools.html b/doc/modules/pools.html index d75a04e..64503ce 100644 --- a/doc/modules/pools.html +++ b/doc/modules/pools.html @@ -6,7 +6,7 @@ <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" /> - <title>pools - Generic pools of resources — Eventlet 0.32.0 documentation</title> + <title>pools - Generic pools of resources — Eventlet 0.33.0 documentation</title> <link rel="stylesheet" type="text/css" href="../_static/pygments.css" /> <link rel="stylesheet" type="text/css" href="../_static/classic.css" /> @@ -35,7 +35,7 @@ <li class="right" > <a href="greenthread.html" title="greenthread – Green Thread Implementation" accesskey="P">previous</a> |</li> - <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.32.0 documentation</a> »</li> + <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.33.0 documentation</a> »</li> <li class="nav-item nav-item-1"><a href="../modules.html" accesskey="U">Module Reference</a> »</li> <li class="nav-item nav-item-this"><a href=""><code class="xref py py-mod docutils literal notranslate"><span class="pre">pools</span></code> - Generic pools of resources</a></li> </ul> @@ -64,7 +64,7 @@ the resource.</p> <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">http_pool</span> <span class="o">=</span> <span class="n">pools</span><span class="o">.</span><span class="n">Pool</span><span class="p">(</span><span class="n">create</span><span class="o">=</span><span class="k">lambda</span><span class="p">:</span> <span class="n">httplib2</span><span class="o">.</span><span class="n">Http</span><span class="p">(</span><span class="n">timeout</span><span class="o">=</span><span class="mi">90</span><span class="p">))</span> </pre></div> </div> -<p>or <a class="reference external" href="https://docs.python.org/3/library/functools.html#functools.partial" title="(in Python v3.9)"><code class="xref py py-func docutils literal notranslate"><span class="pre">functools.partial()</span></code></a>:</p> +<p>or <a class="reference external" href="https://docs.python.org/3/library/functools.html#functools.partial" title="(in Python v3.10)"><code class="xref py py-func docutils literal notranslate"><span class="pre">functools.partial()</span></code></a>:</p> <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="kn">from</span> <span class="nn">functools</span> <span class="kn">import</span> <span class="n">partial</span> <span class="n">http_pool</span> <span class="o">=</span> <span class="n">pools</span><span class="o">.</span><span class="n">Pool</span><span class="p">(</span><span class="n">create</span><span class="o">=</span><span class="n">partial</span><span class="p">(</span><span class="n">httplib2</span><span class="o">.</span><span class="n">Http</span><span class="p">,</span> <span class="n">timeout</span><span class="o">=</span><span class="mi">90</span><span class="p">))</span> </pre></div> @@ -239,7 +239,7 @@ called a second time.</p> <li class="right" > <a href="greenthread.html" title="greenthread – Green Thread Implementation" >previous</a> |</li> - <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.32.0 documentation</a> »</li> + <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.33.0 documentation</a> »</li> <li class="nav-item nav-item-1"><a href="../modules.html" >Module Reference</a> »</li> <li class="nav-item nav-item-this"><a href=""><code class="xref py py-mod docutils literal notranslate"><span class="pre">pools</span></code> - Generic pools of resources</a></li> </ul> diff --git a/doc/modules/queue.html b/doc/modules/queue.html index 290be39..b8eb434 100644 --- a/doc/modules/queue.html +++ b/doc/modules/queue.html @@ -6,7 +6,7 @@ <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" /> - <title>queue – Queue class — Eventlet 0.32.0 documentation</title> + <title>queue – Queue class — Eventlet 0.33.0 documentation</title> <link rel="stylesheet" type="text/css" href="../_static/pygments.css" /> <link rel="stylesheet" type="text/css" href="../_static/classic.css" /> @@ -35,7 +35,7 @@ <li class="right" > <a href="pools.html" title="pools - Generic pools of resources" accesskey="P">previous</a> |</li> - <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.32.0 documentation</a> »</li> + <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.33.0 documentation</a> »</li> <li class="nav-item nav-item-1"><a href="../modules.html" accesskey="U">Module Reference</a> »</li> <li class="nav-item nav-item-this"><a href=""><code class="xref py py-mod docutils literal notranslate"><span class="pre">queue</span></code> – Queue class</a></li> </ul> @@ -47,11 +47,11 @@ <div class="body" role="main"> <section id="module-eventlet.queue"> -<span id="queue-queue-class"></span><h1><a class="reference external" href="https://docs.python.org/3/library/queue.html#module-queue" title="(in Python v3.9)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">queue</span></code></a> – Queue class<a class="headerlink" href="#module-eventlet.queue" title="Permalink to this headline">¶</a></h1> +<span id="queue-queue-class"></span><h1><a class="reference external" href="https://docs.python.org/3/library/queue.html#module-queue" title="(in Python v3.10)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">queue</span></code></a> – Queue class<a class="headerlink" href="#module-eventlet.queue" title="Permalink to this headline">¶</a></h1> <p>Synchronized queues.</p> <p>The <a class="reference internal" href="#module-eventlet.queue" title="eventlet.queue"><code class="xref py py-mod docutils literal notranslate"><span class="pre">eventlet.queue</span></code></a> module implements multi-producer, multi-consumer queues that work across greenlets, with the API similar to the classes found in -the standard <code class="xref py py-mod docutils literal notranslate"><span class="pre">Queue</span></code> and <a class="reference external" href="https://docs.python.org/3/library/multiprocessing.html#multiprocessing.Queue" title="(in Python v3.9)"><code class="xref py py-class docutils literal notranslate"><span class="pre">multiprocessing</span></code></a> +the standard <code class="xref py py-mod docutils literal notranslate"><span class="pre">Queue</span></code> and <a class="reference external" href="https://docs.python.org/3/library/multiprocessing.html#multiprocessing.Queue" title="(in Python v3.10)"><code class="xref py py-class docutils literal notranslate"><span class="pre">multiprocessing</span></code></a> modules.</p> <p>A major difference is that queues in this module operate as channels when initialized with <em>maxsize</em> of zero. In such case, both <code class="xref py py-meth docutils literal notranslate"><span class="pre">Queue.empty()</span></code> @@ -208,7 +208,7 @@ For each <code class="xref py py-meth docutils literal notranslate"><span class= <p>If a <a class="reference internal" href="#eventlet.queue.Queue.join" title="eventlet.queue.Queue.join"><code class="xref py py-meth docutils literal notranslate"><span class="pre">join()</span></code></a> is currently blocking, it will resume when all items have been processed (meaning that a <a class="reference internal" href="#eventlet.queue.Queue.task_done" title="eventlet.queue.Queue.task_done"><code class="xref py py-meth docutils literal notranslate"><span class="pre">task_done()</span></code></a> call was received for every item that had been <code class="xref py py-meth docutils literal notranslate"><span class="pre">put</span></code> into the queue).</p> -<p>Raises a <a class="reference external" href="https://docs.python.org/3/library/exceptions.html#ValueError" title="(in Python v3.9)"><code class="xref py py-exc docutils literal notranslate"><span class="pre">ValueError</span></code></a> if called more times than there were items placed in the queue.</p> +<p>Raises a <a class="reference external" href="https://docs.python.org/3/library/exceptions.html#ValueError" title="(in Python v3.10)"><code class="xref py py-exc docutils literal notranslate"><span class="pre">ValueError</span></code></a> if called more times than there were items placed in the queue.</p> </dd></dl> </dd></dl> @@ -264,7 +264,7 @@ For each <code class="xref py py-meth docutils literal notranslate"><span class= <li class="right" > <a href="pools.html" title="pools - Generic pools of resources" >previous</a> |</li> - <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.32.0 documentation</a> »</li> + <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.33.0 documentation</a> »</li> <li class="nav-item nav-item-1"><a href="../modules.html" >Module Reference</a> »</li> <li class="nav-item nav-item-this"><a href=""><code class="xref py py-mod docutils literal notranslate"><span class="pre">queue</span></code> – Queue class</a></li> </ul> diff --git a/doc/modules/semaphore.html b/doc/modules/semaphore.html index 2de0c48..a9fd0e0 100644 --- a/doc/modules/semaphore.html +++ b/doc/modules/semaphore.html @@ -6,7 +6,7 @@ <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" /> - <title>semaphore – Semaphore classes — Eventlet 0.32.0 documentation</title> + <title>semaphore – Semaphore classes — Eventlet 0.33.0 documentation</title> <link rel="stylesheet" type="text/css" href="../_static/pygments.css" /> <link rel="stylesheet" type="text/css" href="../_static/classic.css" /> @@ -35,7 +35,7 @@ <li class="right" > <a href="queue.html" title="queue – Queue class" accesskey="P">previous</a> |</li> - <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.32.0 documentation</a> »</li> + <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.33.0 documentation</a> »</li> <li class="nav-item nav-item-1"><a href="../modules.html" accesskey="U">Module Reference</a> »</li> <li class="nav-item nav-item-this"><a href=""><code class="xref py py-mod docutils literal notranslate"><span class="pre">semaphore</span></code> – Semaphore classes</a></li> </ul> @@ -56,7 +56,7 @@ Optionally initialize with a resource <em>count</em>, then <a class="reference i <a class="reference internal" href="#eventlet.semaphore.Semaphore.release" title="eventlet.semaphore.Semaphore.release"><code class="xref py py-meth docutils literal notranslate"><span class="pre">release()</span></code></a> resources as needed. Attempting to <a class="reference internal" href="#eventlet.semaphore.Semaphore.acquire" title="eventlet.semaphore.Semaphore.acquire"><code class="xref py py-meth docutils literal notranslate"><span class="pre">acquire()</span></code></a> when <em>count</em> is zero suspends the calling greenthread until <em>count</em> becomes nonzero again.</p> -<p>This is API-compatible with <a class="reference external" href="https://docs.python.org/3/library/threading.html#threading.Semaphore" title="(in Python v3.9)"><code class="xref py py-class docutils literal notranslate"><span class="pre">threading.Semaphore</span></code></a>.</p> +<p>This is API-compatible with <a class="reference external" href="https://docs.python.org/3/library/threading.html#threading.Semaphore" title="(in Python v3.10)"><code class="xref py py-class docutils literal notranslate"><span class="pre">threading.Semaphore</span></code></a>.</p> <p>It is a context manager, and thus can be used in a with block:</p> <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">sem</span> <span class="o">=</span> <span class="n">Semaphore</span><span class="p">(</span><span class="mi">2</span><span class="p">)</span> <span class="k">with</span> <span class="n">sem</span><span class="p">:</span> @@ -159,10 +159,10 @@ and is ignored</p> again. Attempting to <a class="reference internal" href="#eventlet.semaphore.CappedSemaphore.release" title="eventlet.semaphore.CappedSemaphore.release"><code class="xref py py-meth docutils literal notranslate"><span class="pre">release()</span></code></a> after <em>count</em> has reached <em>limit</em> suspends the calling greenthread until <em>count</em> becomes less than <em>limit</em> again.</p> -<p>This has the same API as <a class="reference external" href="https://docs.python.org/3/library/threading.html#threading.Semaphore" title="(in Python v3.9)"><code class="xref py py-class docutils literal notranslate"><span class="pre">threading.Semaphore</span></code></a>, though its +<p>This has the same API as <a class="reference external" href="https://docs.python.org/3/library/threading.html#threading.Semaphore" title="(in Python v3.10)"><code class="xref py py-class docutils literal notranslate"><span class="pre">threading.Semaphore</span></code></a>, though its semantics and behavior differ subtly due to the upper limit on calls to <a class="reference internal" href="#eventlet.semaphore.CappedSemaphore.release" title="eventlet.semaphore.CappedSemaphore.release"><code class="xref py py-meth docutils literal notranslate"><span class="pre">release()</span></code></a>. It is <strong>not</strong> compatible with -<a class="reference external" href="https://docs.python.org/3/library/threading.html#threading.BoundedSemaphore" title="(in Python v3.9)"><code class="xref py py-class docutils literal notranslate"><span class="pre">threading.BoundedSemaphore</span></code></a> because it blocks when reaching <em>limit</em> +<a class="reference external" href="https://docs.python.org/3/library/threading.html#threading.BoundedSemaphore" title="(in Python v3.10)"><code class="xref py py-class docutils literal notranslate"><span class="pre">threading.BoundedSemaphore</span></code></a> because it blocks when reaching <em>limit</em> instead of raising a ValueError.</p> <p>It is a context manager, and thus can be used in a with block:</p> <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">sem</span> <span class="o">=</span> <span class="n">CappedSemaphore</span><span class="p">(</span><span class="mi">2</span><span class="p">)</span> @@ -277,7 +277,7 @@ counter is greater than or equal to <em>limit</em>.</p> <li class="right" > <a href="queue.html" title="queue – Queue class" >previous</a> |</li> - <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.32.0 documentation</a> »</li> + <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.33.0 documentation</a> »</li> <li class="nav-item nav-item-1"><a href="../modules.html" >Module Reference</a> »</li> <li class="nav-item nav-item-this"><a href=""><code class="xref py py-mod docutils literal notranslate"><span class="pre">semaphore</span></code> – Semaphore classes</a></li> </ul> diff --git a/doc/modules/timeout.html b/doc/modules/timeout.html index bf517ec..1961c7b 100644 --- a/doc/modules/timeout.html +++ b/doc/modules/timeout.html @@ -6,7 +6,7 @@ <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" /> - <title>timeout – Universal Timeouts — Eventlet 0.32.0 documentation</title> + <title>timeout – Universal Timeouts — Eventlet 0.33.0 documentation</title> <link rel="stylesheet" type="text/css" href="../_static/pygments.css" /> <link rel="stylesheet" type="text/css" href="../_static/classic.css" /> @@ -35,7 +35,7 @@ <li class="right" > <a href="semaphore.html" title="semaphore – Semaphore classes" accesskey="P">previous</a> |</li> - <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.32.0 documentation</a> »</li> + <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.33.0 documentation</a> »</li> <li class="nav-item nav-item-1"><a href="../modules.html" accesskey="U">Module Reference</a> »</li> <li class="nav-item nav-item-this"><a href=""><code class="xref py py-mod docutils literal notranslate"><span class="pre">timeout</span></code> – Universal Timeouts</a></li> </ul> @@ -91,7 +91,7 @@ and is only useful if you’re planning to raise it directly.</p> <p>There are two Timeout caveats to be aware of:</p> <ul class="simple"> <li><p>If the code block in the try/finally or with-block never cooperatively yields, the timeout cannot be raised. In Eventlet, this should rarely be a problem, but be aware that you cannot time out CPU-only operations with this class.</p></li> -<li><p>If the code block catches and doesn’t re-raise <a class="reference external" href="https://docs.python.org/3/library/exceptions.html#BaseException" title="(in Python v3.9)"><code class="xref py py-class docutils literal notranslate"><span class="pre">BaseException</span></code></a> (for example, with <code class="docutils literal notranslate"><span class="pre">except:</span></code>), then it will catch the Timeout exception, and might not abort as intended.</p></li> +<li><p>If the code block catches and doesn’t re-raise <a class="reference external" href="https://docs.python.org/3/library/exceptions.html#BaseException" title="(in Python v3.10)"><code class="xref py py-class docutils literal notranslate"><span class="pre">BaseException</span></code></a> (for example, with <code class="docutils literal notranslate"><span class="pre">except:</span></code>), then it will catch the Timeout exception, and might not abort as intended.</p></li> </ul> <p>When catching timeouts, keep in mind that the one you catch may not be the one you set; if you plan on silencing a timeout, always check that it’s the @@ -131,7 +131,7 @@ value.</p> <dl class="field-list simple"> <dt class="field-odd">Parameters</dt> <dd class="field-odd"><ul class="simple"> -<li><p><strong>seconds</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.9)"><em>int</em></a><em> or </em><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.9)"><em>float</em></a>) – seconds before timeout occurs</p></li> +<li><p><strong>seconds</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.10)"><em>int</em></a><em> or </em><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.10)"><em>float</em></a>) – seconds before timeout occurs</p></li> <li><p><strong>func</strong> – the callable to execute with a timeout; it must cooperatively yield, or else the timeout will not be able to trigger</p></li> <li><p><strong>*args</strong> – positional arguments to pass to <em>func</em></p></li> <li><p><strong>**kwds</strong> – keyword arguments to pass to <em>func</em></p></li> @@ -211,7 +211,7 @@ is passed through to the caller.</p> <li class="right" > <a href="semaphore.html" title="semaphore – Semaphore classes" >previous</a> |</li> - <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.32.0 documentation</a> »</li> + <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.33.0 documentation</a> »</li> <li class="nav-item nav-item-1"><a href="../modules.html" >Module Reference</a> »</li> <li class="nav-item nav-item-this"><a href=""><code class="xref py py-mod docutils literal notranslate"><span class="pre">timeout</span></code> – Universal Timeouts</a></li> </ul> diff --git a/doc/modules/websocket.html b/doc/modules/websocket.html index 20b8f66..e791a61 100644 --- a/doc/modules/websocket.html +++ b/doc/modules/websocket.html @@ -6,7 +6,7 @@ <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" /> - <title>websocket – Websocket Server — Eventlet 0.32.0 documentation</title> + <title>websocket – Websocket Server — Eventlet 0.33.0 documentation</title> <link rel="stylesheet" type="text/css" href="../_static/pygments.css" /> <link rel="stylesheet" type="text/css" href="../_static/classic.css" /> @@ -35,7 +35,7 @@ <li class="right" > <a href="timeout.html" title="timeout – Universal Timeouts" accesskey="P">previous</a> |</li> - <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.32.0 documentation</a> »</li> + <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.33.0 documentation</a> »</li> <li class="nav-item nav-item-1"><a href="../modules.html" accesskey="U">Module Reference</a> »</li> <li class="nav-item nav-item-this"><a href=""><code class="xref py py-mod docutils literal notranslate"><span class="pre">websocket</span></code> – Websocket Server</a></li> </ul> @@ -195,7 +195,7 @@ vector.</p> <li class="right" > <a href="timeout.html" title="timeout – Universal Timeouts" >previous</a> |</li> - <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.32.0 documentation</a> »</li> + <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.33.0 documentation</a> »</li> <li class="nav-item nav-item-1"><a href="../modules.html" >Module Reference</a> »</li> <li class="nav-item nav-item-this"><a href=""><code class="xref py py-mod docutils literal notranslate"><span class="pre">websocket</span></code> – Websocket Server</a></li> </ul> diff --git a/doc/modules/wsgi.html b/doc/modules/wsgi.html index 5af3ee8..e068d60 100644 --- a/doc/modules/wsgi.html +++ b/doc/modules/wsgi.html @@ -6,7 +6,7 @@ <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" /> - <title>wsgi – WSGI server — Eventlet 0.32.0 documentation</title> + <title>wsgi – WSGI server — Eventlet 0.33.0 documentation</title> <link rel="stylesheet" type="text/css" href="../_static/pygments.css" /> <link rel="stylesheet" type="text/css" href="../_static/classic.css" /> @@ -35,7 +35,7 @@ <li class="right" > <a href="websocket.html" title="websocket – Websocket Server" accesskey="P">previous</a> |</li> - <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.32.0 documentation</a> »</li> + <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.33.0 documentation</a> »</li> <li class="nav-item nav-item-1"><a href="../modules.html" accesskey="U">Module Reference</a> »</li> <li class="nav-item nav-item-this"><a href=""><code class="xref py py-mod docutils literal notranslate"><span class="pre">wsgi</span></code> – WSGI server</a></li> </ul> @@ -285,7 +285,7 @@ in the wsgi test case <code class="docutils literal notranslate"><span class="pr <li class="right" > <a href="websocket.html" title="websocket – Websocket Server" >previous</a> |</li> - <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.32.0 documentation</a> »</li> + <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.33.0 documentation</a> »</li> <li class="nav-item nav-item-1"><a href="../modules.html" >Module Reference</a> »</li> <li class="nav-item nav-item-this"><a href=""><code class="xref py py-mod docutils literal notranslate"><span class="pre">wsgi</span></code> – WSGI server</a></li> </ul> diff --git a/doc/modules/zmq.html b/doc/modules/zmq.html index 7df2c4f..ba49595 100644 --- a/doc/modules/zmq.html +++ b/doc/modules/zmq.html @@ -6,7 +6,7 @@ <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" /> - <title>eventlet.green.zmq – ØMQ support — Eventlet 0.32.0 documentation</title> + <title>eventlet.green.zmq – ØMQ support — Eventlet 0.33.0 documentation</title> <link rel="stylesheet" type="text/css" href="../_static/pygments.css" /> <link rel="stylesheet" type="text/css" href="../_static/classic.css" /> @@ -35,7 +35,7 @@ <li class="right" > <a href="wsgi.html" title="wsgi – WSGI server" accesskey="P">previous</a> |</li> - <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.32.0 documentation</a> »</li> + <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.33.0 documentation</a> »</li> <li class="nav-item nav-item-1"><a href="../modules.html" accesskey="U">Module Reference</a> »</li> <li class="nav-item nav-item-this"><a href=""><code class="xref py py-mod docutils literal notranslate"><span class="pre">eventlet.green.zmq</span></code> – ØMQ support</a></li> </ul> @@ -112,7 +112,7 @@ <li class="right" > <a href="wsgi.html" title="wsgi – WSGI server" >previous</a> |</li> - <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.32.0 documentation</a> »</li> + <li class="nav-item nav-item-0"><a href="../index.html">Eventlet 0.33.0 documentation</a> »</li> <li class="nav-item nav-item-1"><a href="../modules.html" >Module Reference</a> »</li> <li class="nav-item nav-item-this"><a href=""><code class="xref py py-mod docutils literal notranslate"><span class="pre">eventlet.green.zmq</span></code> – ØMQ support</a></li> </ul> |
