62.1 KB
/srv/reproducible-results/rbuild-debian/tmp.y8puuKlQRN/b1/python-gevent_1.3.7-1_amd64.changes vs.
/srv/reproducible-results/rbuild-debian/tmp.y8puuKlQRN/b2/python-gevent_1.3.7-1_amd64.changes
576 B
Files
    
Offset 1, 6 lines modifiedOffset 1, 6 lines modified
  
1 ·6a3b23463c23997b5912dd0172ba4956·5378192·debug·optional·python-gevent-dbg_1.3.7-1_amd64.deb1 ·6a3b23463c23997b5912dd0172ba4956·5378192·debug·optional·python-gevent-dbg_1.3.7-1_amd64.deb
2 ·a14217def0f88f8007795012d09ea547·480812·doc·optional·python-gevent-doc_1.3.7-1_all.deb2 ·a9b7e9375bc62fe071200cae1ecea4ac·480792·doc·optional·python-gevent-doc_1.3.7-1_all.deb
3 ·69e7c338c9747bfe0f1f437def1f7b4b·816136·python·optional·python-gevent_1.3.7-1_amd64.deb3 ·69e7c338c9747bfe0f1f437def1f7b4b·816136·python·optional·python-gevent_1.3.7-1_amd64.deb
4 ·f4aeabdb49854fedc9c32dbbfec66501·5678044·debug·optional·python3-gevent-dbg_1.3.7-1_amd64.deb4 ·f4aeabdb49854fedc9c32dbbfec66501·5678044·debug·optional·python3-gevent-dbg_1.3.7-1_amd64.deb
5 ·577ed88d0fc995037e7dd138103690f0·763872·python·optional·python3-gevent_1.3.7-1_amd64.deb5 ·577ed88d0fc995037e7dd138103690f0·763872·python·optional·python3-gevent_1.3.7-1_amd64.deb
61.3 KB
python-gevent-doc_1.3.7-1_all.deb
452 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2018-11-24·15:48:01.000000·debian-binary1 -rw-r--r--···0········0········0········4·2018-11-24·15:48:01.000000·debian-binary
2 -rw-r--r--···0········0········0·····6940·2018-11-24·15:48:01.000000·control.tar.xz2 -rw-r--r--···0········0········0·····6944·2018-11-24·15:48:01.000000·control.tar.xz
3 -rw-r--r--···0········0········0···473680·2018-11-24·15:48:01.000000·data.tar.xz3 -rw-r--r--···0········0········0···473656·2018-11-24·15:48:01.000000·data.tar.xz
98.0 B
control.tar.xz
70.0 B
control.tar
48.0 B
./md5sums
30.0 B
./md5sums
Files differ
60.7 KB
data.tar.xz
60.7 KB
data.tar
37.2 KB
./usr/share/doc/python-gevent/html/api/gevent._ssl2.html
Ordering differences only
    
Offset 58, 94 lines modifiedOffset 58, 80 lines modified
58 <span·id="gevent-ssl2-ssl-wrapper-for-socket-objects-on-python-2-7-8-and-below"></span><h1><a·class="reference·internal"·href="#module-gevent._ssl2"·title="gevent._ssl2"><code·class="xref·py·py-mod·docutils·literal·notranslate"><span·class="pre">gevent._ssl2</span></code></a>··SSL·wrapper·for·socket·objects·on·Python·2.7.8·and·below<a·class="headerlink"·href="#module-gevent._ssl2"·title="Permalink·to·this·headline">¶</a></h1>58 <span·id="gevent-ssl2-ssl-wrapper-for-socket-objects-on-python-2-7-8-and-below"></span><h1><a·class="reference·internal"·href="#module-gevent._ssl2"·title="gevent._ssl2"><code·class="xref·py·py-mod·docutils·literal·notranslate"><span·class="pre">gevent._ssl2</span></code></a>··SSL·wrapper·for·socket·objects·on·Python·2.7.8·and·below<a·class="headerlink"·href="#module-gevent._ssl2"·title="Permalink·to·this·headline">¶</a></h1>
59 <p>For·the·documentation,·refer·to·<a·class="reference·external"·href="http://docs.python.org/library/ssl.html#module-ssl"·title="(in·Python·v2.7)"><code·class="xref·py·py-mod·docutils·literal·notranslate"><span·class="pre">ssl</span></code></a>·module·manual.</p>59 <p>For·the·documentation,·refer·to·<a·class="reference·external"·href="http://docs.python.org/library/ssl.html#module-ssl"·title="(in·Python·v2.7)"><code·class="xref·py·py-mod·docutils·literal·notranslate"><span·class="pre">ssl</span></code></a>·module·manual.</p>
60 <p>This·module·implements·cooperative·SSL·socket·wrappers.</p>60 <p>This·module·implements·cooperative·SSL·socket·wrappers.</p>
61 <div·class="deprecated">61 <div·class="deprecated">
62 <p><span·class="versionmodified">Deprecated·since·version·1.3:·</span>This·module·is·not·secure.·Support·for·Python·versions62 <p><span·class="versionmodified">Deprecated·since·version·1.3:·</span>This·module·is·not·secure.·Support·for·Python·versions
63 with·only·this·level·of·SSL·will·be·dropped·in·gevent·1.4.</p>63 with·only·this·level·of·SSL·will·be·dropped·in·gevent·1.4.</p>
64 </div>64 </div>
 65 <dl·class="exception">
 66 <dt·id="gevent._ssl2.SSLEOFError">
 67 <em·class="property">exception·</em><code·class="descname">SSLEOFError</code><a·class="headerlink"·href="#gevent._ssl2.SSLEOFError"·title="Permalink·to·this·definition">¶</a></dt>
 68 <dd><p>Bases:·<a·class="reference·external"·href="http://docs.python.org/library/ssl.html#ssl.SSLError"·title="(in·Python·v2.7)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ssl.SSLError</span></code></a></p>
 69 <p>SSL/TLS·connection·terminated·abruptly.</p>
 70 </dd></dl>
  
65 <dl·class="attribute">71 <dl·class="attribute">
66 <dt·id="gevent._ssl2.socket_error">72 <dt·id="gevent._ssl2.CertificateError">
67 <code·class="descname">socket_error</code><a·class="headerlink"·href="#gevent._ssl2.socket_error"·title="Permalink·to·this·definition">¶</a></dt>73 <code·class="descname">CertificateError</code><a·class="headerlink"·href="#gevent._ssl2.CertificateError"·title="Permalink·to·this·definition">¶</a></dt>
68 <dd><p>alias·of·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">builtins.OSError</span></code></p>74 <dd><p>alias·of·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ssl.SSLCertVerificationError</span></code></p>
 75 </dd></dl>
  
 76 <dl·class="exception">
 77 <dt·id="gevent._ssl2.SSLCertVerificationError">
 78 <em·class="property">exception·</em><code·class="descname">SSLCertVerificationError</code><a·class="headerlink"·href="#gevent._ssl2.SSLCertVerificationError"·title="Permalink·to·this·definition">¶</a></dt>
 79 <dd><p>Bases:·<a·class="reference·external"·href="http://docs.python.org/library/ssl.html#ssl.SSLError"·title="(in·Python·v2.7)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ssl.SSLError</span></code></a>,·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ValueError</span></code></p>
 80 <p>A·certificate·could·not·be·verified.</p>
69 </dd></dl>81 </dd></dl>
  
70 <dl·class="exception">82 <dl·class="exception">
71 <dt·id="gevent._ssl2.SSLWantWriteError">83 <dt·id="gevent._ssl2.SSLWantWriteError">
72 <em·class="property">exception·</em><code·class="descname">SSLWantWriteError</code><a·class="headerlink"·href="#gevent._ssl2.SSLWantWriteError"·title="Permalink·to·this·definition">¶</a></dt>84 <em·class="property">exception·</em><code·class="descname">SSLWantWriteError</code><a·class="headerlink"·href="#gevent._ssl2.SSLWantWriteError"·title="Permalink·to·this·definition">¶</a></dt>
73 <dd><p>Bases:·<a·class="reference·external"·href="http://docs.python.org/library/ssl.html#ssl.SSLError"·title="(in·Python·v2.7)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ssl.SSLError</span></code></a></p>85 <dd><p>Bases:·<a·class="reference·external"·href="http://docs.python.org/library/ssl.html#ssl.SSLError"·title="(in·Python·v2.7)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ssl.SSLError</span></code></a></p>
74 <p>Non-blocking·SSL·socket·needs·to·write·more·data86 <p>Non-blocking·SSL·socket·needs·to·write·more·data
75 before·the·requested·operation·can·be·completed.</p>87 before·the·requested·operation·can·be·completed.</p>
76 </dd></dl>88 </dd></dl>
  
77 <dl·class="exception">89 <dl·class="attribute">
78 <dt·id="gevent._ssl2.SSLZeroReturnError">90 <dt·id="gevent._ssl2.socket_error">
79 <em·class="property">exception·</em><code·class="descname">SSLZeroReturnError</code><a·class="headerlink"·href="#gevent._ssl2.SSLZeroReturnError"·title="Permalink·to·this·definition">¶</a></dt>91 <code·class="descname">socket_error</code><a·class="headerlink"·href="#gevent._ssl2.socket_error"·title="Permalink·to·this·definition">¶</a></dt>
 92 <dd><p>alias·of·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">builtins.OSError</span></code></p>
80 <dd><p>Bases:·<a·class="reference·external"·href="http://docs.python.org/library/ssl.html#ssl.SSLError"·title="(in·Python·v2.7)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ssl.SSLError</span></code></a></p> 
81 <p>SSL/TLS·session·closed·cleanly.</p> 
82 </dd></dl> 
  
83 <dl·class="exception"> 
84 <dt·id="gevent._ssl2.SSLWantReadError"> 
85 <em·class="property">exception·</em><code·class="descname">SSLWantReadError</code><a·class="headerlink"·href="#gevent._ssl2.SSLWantReadError"·title="Permalink·to·this·definition">¶</a></dt> 
86 <dd><p>Bases:·<a·class="reference·external"·href="http://docs.python.org/library/ssl.html#ssl.SSLError"·title="(in·Python·v2.7)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ssl.SSLError</span></code></a></p> 
87 <p>Non-blocking·SSL·socket·needs·to·read·more·data 
88 before·the·requested·operation·can·be·completed.</p> 
89 </dd></dl>93 </dd></dl>
  
90 <dl·class="exception">94 <dl·class="exception">
91 <dt·id="gevent._ssl2.SSLEOFError">95 <dt·id="gevent._ssl2.SSLSyscallError">
92 <em·class="property">exception·</em><code·class="descname">SSLEOFError</code><a·class="headerlink"·href="#gevent._ssl2.SSLEOFError"·title="Permalink·to·this·definition">¶</a></dt>96 <em·class="property">exception·</em><code·class="descname">SSLSyscallError</code><a·class="headerlink"·href="#gevent._ssl2.SSLSyscallError"·title="Permalink·to·this·definition">¶</a></dt>
93 <dd><p>Bases:·<a·class="reference·external"·href="http://docs.python.org/library/ssl.html#ssl.SSLError"·title="(in·Python·v2.7)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ssl.SSLError</span></code></a></p>97 <dd><p>Bases:·<a·class="reference·external"·href="http://docs.python.org/library/ssl.html#ssl.SSLError"·title="(in·Python·v2.7)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ssl.SSLError</span></code></a></p>
94 <p>SSL/TLS·connection·terminated·abruptly.</p>98 <p>System·error·when·attempting·SSL·operation.</p>
95 </dd></dl>99 </dd></dl>
  
96 <dl·class="exception">100 <dl·class="exception">
97 <dt·id="gevent._ssl2.SSLError">101 <dt·id="gevent._ssl2.SSLError">
98 <em·class="property">exception·</em><code·class="descname">SSLError</code><a·class="headerlink"·href="#gevent._ssl2.SSLError"·title="Permalink·to·this·definition">¶</a></dt>102 <em·class="property">exception·</em><code·class="descname">SSLError</code><a·class="headerlink"·href="#gevent._ssl2.SSLError"·title="Permalink·to·this·definition">¶</a></dt>
99 <dd><p>Bases:·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">OSError</span></code></p>103 <dd><p>Bases:·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">OSError</span></code></p>
100 <p>An·error·occurred·in·the·SSL·implementation.</p>104 <p>An·error·occurred·in·the·SSL·implementation.</p>
101 </dd></dl>105 </dd></dl>
  
102 <dl·class="exception">106 <dl·class="exception">
103 <dt·id="gevent._ssl2.SSLSyscallError">107 <dt·id="gevent._ssl2.SSLWantReadError">
104 <em·class="property">exception·</em><code·class="descname">SSLSyscallError</code><a·class="headerlink"·href="#gevent._ssl2.SSLSyscallError"·title="Permalink·to·this·definition">¶</a></dt>108 <em·class="property">exception·</em><code·class="descname">SSLWantReadError</code><a·class="headerlink"·href="#gevent._ssl2.SSLWantReadError"·title="Permalink·to·this·definition">¶</a></dt>
105 <dd><p>Bases:·<a·class="reference·external"·href="http://docs.python.org/library/ssl.html#ssl.SSLError"·title="(in·Python·v2.7)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ssl.SSLError</span></code></a></p>109 <dd><p>Bases:·<a·class="reference·external"·href="http://docs.python.org/library/ssl.html#ssl.SSLError"·title="(in·Python·v2.7)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ssl.SSLError</span></code></a></p>
 110 <p>Non-blocking·SSL·socket·needs·to·read·more·data
 111 before·the·requested·operation·can·be·completed.</p>
106 <p>System·error·when·attempting·SSL·operation.</p> 
107 </dd></dl> 
  
108 <dl·class="attribute"> 
109 <dt·id="gevent._ssl2.CertificateError"> 
110 <code·class="descname">CertificateError</code><a·class="headerlink"·href="#gevent._ssl2.CertificateError"·title="Permalink·to·this·definition">¶</a></dt> 
111 <dd><p>alias·of·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ssl.SSLCertVerificationError</span></code></p> 
112 </dd></dl>112 </dd></dl>
  
113 <dl·class="exception">113 <dl·class="exception">
114 <dt·id="gevent._ssl2.SSLCertVerificationError">114 <dt·id="gevent._ssl2.SSLZeroReturnError">
115 <em·class="property">exception·</em><code·class="descname">SSLCertVerificationError</code><a·class="headerlink"·href="#gevent._ssl2.SSLCertVerificationError"·title="Permalink·to·this·definition">¶</a></dt>115 <em·class="property">exception·</em><code·class="descname">SSLZeroReturnError</code><a·class="headerlink"·href="#gevent._ssl2.SSLZeroReturnError"·title="Permalink·to·this·definition">¶</a></dt>
116 <dd><p>Bases:·<a·class="reference·external"·href="http://docs.python.org/library/ssl.html#ssl.SSLError"·title="(in·Python·v2.7)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ssl.SSLError</span></code></a>,·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ValueError</span></code></p>116 <dd><p>Bases:·<a·class="reference·external"·href="http://docs.python.org/library/ssl.html#ssl.SSLError"·title="(in·Python·v2.7)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ssl.SSLError</span></code></a></p>
 117 <p>SSL/TLS·session·closed·cleanly.</p>
117 <p>A·certificate·could·not·be·verified.</p> 
118 </dd></dl> 
  
119 <dl·class="class"> 
120 <dt·id="gevent._ssl2.VerifyMode"> 
121 <em·class="property">class·</em><code·class="descname">VerifyMode</code><a·class="headerlink"·href="#gevent._ssl2.VerifyMode"·title="Permalink·to·this·definition">¶</a></dt> 
122 <dd><p>Bases:·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">enum.IntEnum</span></code></p> 
123 <p>An·enumeration.</p> 
124 </dd></dl> 
  
125 <dl·class="class"> 
126 <dt·id="gevent._ssl2.Purpose"> 
127 <em·class="property">class·</em><code·class="descname">Purpose</code><a·class="headerlink"·href="#gevent._ssl2.Purpose"·title="Permalink·to·this·definition">¶</a></dt> 
128 <dd><p>Bases:·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ssl._ASN1Object</span></code>,·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">enum.Enum</span></code></p> 
129 <p>SSLContext·purpose·flags·with·X509v3·Extended·Key·Usage·objects</p> 
130 </dd></dl>118 </dd></dl>
  
131 <dl·class="class">119 <dl·class="class">
132 <dt·id="gevent._ssl2.VerifyFlags">120 <dt·id="gevent._ssl2.Options">
133 <em·class="property">class·</em><code·class="descname">VerifyFlags</code><a·class="headerlink"·href="#gevent._ssl2.VerifyFlags"·title="Permalink·to·this·definition">¶</a></dt>121 <em·class="property">class·</em><code·class="descname">Options</code><a·class="headerlink"·href="#gevent._ssl2.Options"·title="Permalink·to·this·definition">¶</a></dt>
134 <dd><p>Bases:·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">enum.IntFlag</span></code></p>122 <dd><p>Bases:·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">enum.IntFlag</span></code></p>
135 <p>An·enumeration.</p>123 <p>An·enumeration.</p>
136 </dd></dl>124 </dd></dl>
  
137 <dl·class="class">125 <dl·class="class">
138 <dt·id="gevent._ssl2.SSLSocket">126 <dt·id="gevent._ssl2.SSLSocket">
139 <em·class="property">class·</em><code·class="descname">SSLSocket</code><span·class="sig-paren">(</span><em>sock</em>,·<em>keyfile=None</em>,·<em>certfile=None</em>,·<em>server_side=False</em>,·<em>cert_reqs=&lt;VerifyMode.CERT_NONE:·0&gt;</em>,·<em>ssl_version=&lt;_SSLMethod.PROTOCOL_TLS:·2&gt;</em>,·<em>ca_certs=None</em>,·<em>do_handshake_on_connect=True</em>,·<em>suppress_ragged_eofs=True</em>,·<em>ciphers=None</em><span·class="sig-paren">)</span><a·class="reference·internal"·href="../_modules/gevent/_ssl2.html#SSLSocket"><span·class="viewcode-link">[source]</span></a><a·class="headerlink"·href="#gevent._ssl2.SSLSocket"·title="Permalink·to·this·definition">¶</a></dt>127 <em·class="property">class·</em><code·class="descname">SSLSocket</code><span·class="sig-paren">(</span><em>sock</em>,·<em>keyfile=None</em>,·<em>certfile=None</em>,·<em>server_side=False</em>,·<em>cert_reqs=&lt;VerifyMode.CERT_NONE:·0&gt;</em>,·<em>ssl_version=&lt;_SSLMethod.PROTOCOL_TLS:·2&gt;</em>,·<em>ca_certs=None</em>,·<em>do_handshake_on_connect=True</em>,·<em>suppress_ragged_eofs=True</em>,·<em>ciphers=None</em><span·class="sig-paren">)</span><a·class="reference·internal"·href="../_modules/gevent/_ssl2.html#SSLSocket"><span·class="viewcode-link">[source]</span></a><a·class="headerlink"·href="#gevent._ssl2.SSLSocket"·title="Permalink·to·this·definition">¶</a></dt>
Offset 203, 14 lines modifiedOffset 189, 85 lines modified
203 <dd><p>Write·DATA·to·the·underlying·SSL·channel.··Returns189 <dd><p>Write·DATA·to·the·underlying·SSL·channel.··Returns
204 number·of·bytes·of·DATA·actually·transmitted.</p>190 number·of·bytes·of·DATA·actually·transmitted.</p>
205 </dd></dl>191 </dd></dl>
  
206 </dd></dl>192 </dd></dl>
  
207 <dl·class="class">193 <dl·class="class">
 194 <dt·id="gevent._ssl2.VerifyMode">
 195 <em·class="property">class·</em><code·class="descname">VerifyMode</code><a·class="headerlink"·href="#gevent._ssl2.VerifyMode"·title="Permalink·to·this·definition">¶</a></dt>
 196 <dd><p>Bases:·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">enum.IntEnum</span></code></p>
 197 <p>An·enumeration.</p>
 198 </dd></dl>
  
 199 <dl·class="class">
Max diff block lines reached; 22410/37927 bytes (59.09%) of diff not shown.
23.5 KB
./usr/share/doc/python-gevent/html/api/gevent.os.html
Ordering differences only
    
Offset 89, 14 lines modifiedOffset 89, 108 lines modified
89 <p·class="first·admonition-title">Warning</p>89 <p·class="first·admonition-title">Warning</p>
90 <p·class="last">Forking·a·process·that·uses·greenlets·does·not·eliminate·all·non-running90 <p·class="last">Forking·a·process·that·uses·greenlets·does·not·eliminate·all·non-running
91 greenlets.·Any·that·were·scheduled·in·the·hub·of·the·forking·thread·in·the·parent91 greenlets.·Any·that·were·scheduled·in·the·hub·of·the·forking·thread·in·the·parent
92 remain·scheduled·in·the·child;·compare·this·to·how·normal·threads·operate.·(This·behaviour92 remain·scheduled·in·the·child;·compare·this·to·how·normal·threads·operate.·(This·behaviour
93 may·change·is·a·subsequent·major·release.)</p>93 may·change·is·a·subsequent·major·release.)</p>
94 </div>94 </div>
95 <dl·class="function">95 <dl·class="function">
 96 <dt·id="gevent.os.fork_gevent">
 97 <code·class="descname">fork_gevent</code><span·class="sig-paren">(</span><span·class="sig-paren">)</span><a·class="reference·internal"·href="../_modules/gevent/os.html#fork_gevent"><span·class="viewcode-link">[source]</span></a><a·class="headerlink"·href="#gevent.os.fork_gevent"·title="Permalink·to·this·definition">¶</a></dt>
 98 <dd><p>Forks·the·process·using·<a·class="reference·external"·href="http://docs.python.org/library/os.html#os.fork"·title="(in·Python·v2.7)"><code·class="xref·py·py-func·docutils·literal·notranslate"><span·class="pre">os.fork()</span></code></a>·and·prepares·the
 99 child·process·to·continue·using·gevent·before·returning.</p>
 100 <div·class="admonition·note">
 101 <p·class="first·admonition-title">Note</p>
 102 <p·class="last">The·PID·returned·by·this·function·may·not·be·waitable·with
 103 either·the·original·<a·class="reference·external"·href="http://docs.python.org/library/os.html#os.waitpid"·title="(in·Python·v2.7)"><code·class="xref·py·py-func·docutils·literal·notranslate"><span·class="pre">os.waitpid()</span></code></a>·or·this·module’s
 104 <a·class="reference·internal"·href="#gevent.os.waitpid"·title="gevent.os.waitpid"><code·class="xref·py·py-func·docutils·literal·notranslate"><span·class="pre">waitpid()</span></code></a>·and·it·may·not·generate·SIGCHLD·signals·if
 105 libev·child·watchers·are·or·ever·have·been·in·use.·For
 106 example,·the·<a·class="reference·internal"·href="gevent.subprocess.html#module-gevent.subprocess"·title="gevent.subprocess"><code·class="xref·py·py-mod·docutils·literal·notranslate"><span·class="pre">gevent.subprocess</span></code></a>·module·uses·libev
 107 child·watchers·(which·parts·of·gevent·use·libev·child
 108 watchers·is·subject·to·change·at·any·time).·Most
 109 applications·should·use·<a·class="reference·internal"·href="#gevent.os.fork_and_watch"·title="gevent.os.fork_and_watch"><code·class="xref·py·py-func·docutils·literal·notranslate"><span·class="pre">fork_and_watch()</span></code></a>,·which·is
 110 monkey-patched·as·the·default·replacement·for
 111 <a·class="reference·external"·href="http://docs.python.org/library/os.html#os.fork"·title="(in·Python·v2.7)"><code·class="xref·py·py-func·docutils·literal·notranslate"><span·class="pre">os.fork()</span></code></a>·and·implements·the·<code·class="docutils·literal·notranslate"><span·class="pre">fork</span></code>·function·of
 112 this·module·by·default,·unless·the·environment·variable
 113 <code·class="docutils·literal·notranslate"><span·class="pre">GEVENT_NOWAITPID</span></code>·is·defined·before·this·module·is
 114 imported.</p>
 115 </div>
 116 <div·class="versionadded">
 117 <p><span·class="versionmodified">New·in·version·1.1b2.</span></p>
 118 </div>
 119 </dd></dl>
  
 120 <dl·class="function">
 121 <dt·id="gevent.os.tp_read">
 122 <code·class="descname">tp_read</code><span·class="sig-paren">(</span><em>fd</em>,·<em>n</em><span·class="sig-paren">)</span><a·class="reference·internal"·href="../_modules/gevent/os.html#tp_read"><span·class="viewcode-link">[source]</span></a><a·class="headerlink"·href="#gevent.os.tp_read"·title="Permalink·to·this·definition">¶</a></dt>
 123 <dd><p>Read·up·to·<em>n</em>·bytes·from·file·descriptor·<em>fd</em>.·Return·a·string
 124 containing·the·bytes·read.·If·end-of-file·is·reached,·an·empty·string
 125 is·returned.</p>
 126 <p>Reading·is·done·using·the·threadpool.</p>
 127 </dd></dl>
  
 128 <dl·class="function">
 129 <dt·id="gevent.os.waitpid">
 130 <code·class="descname">waitpid</code><span·class="sig-paren">(</span><em>pid</em>,·<em>options</em><span·class="sig-paren">)</span><a·class="reference·internal"·href="../_modules/gevent/os.html#waitpid"><span·class="viewcode-link">[source]</span></a><a·class="headerlink"·href="#gevent.os.waitpid"·title="Permalink·to·this·definition">¶</a></dt>
 131 <dd><p>Wait·for·a·child·process·to·finish.</p>
 132 <p>If·the·child·process·was·spawned·using
 133 <a·class="reference·internal"·href="#gevent.os.fork_and_watch"·title="gevent.os.fork_and_watch"><code·class="xref·py·py-func·docutils·literal·notranslate"><span·class="pre">fork_and_watch()</span></code></a>,·then·this·function·behaves
 134 cooperatively.·If·not,·it·<em>may</em>·have·race·conditions;·see
 135 <a·class="reference·internal"·href="#gevent.os.fork_gevent"·title="gevent.os.fork_gevent"><code·class="xref·py·py-func·docutils·literal·notranslate"><span·class="pre">fork_gevent()</span></code></a>·for·more·information.</p>
 136 <p>The·arguments·are·as·for·the·underlying
 137 <a·class="reference·external"·href="http://docs.python.org/library/os.html#os.waitpid"·title="(in·Python·v2.7)"><code·class="xref·py·py-func·docutils·literal·notranslate"><span·class="pre">os.waitpid()</span></code></a>.·Some·combinations·of·<em>options</em>·may·not
 138 be·supported·cooperatively·(as·of·1.1·that·includes
 139 WUNTRACED).·Using·a·<em>pid</em>·of·0·to·request·waiting·on·only·processes
 140 from·the·current·process·group·is·not·cooperative.</p>
 141 <p>Availability:·POSIX.</p>
 142 <div·class="versionadded">
 143 <p><span·class="versionmodified">New·in·version·1.1b1.</span></p>
 144 </div>
 145 <div·class="versionchanged">
 146 <p><span·class="versionmodified">Changed·in·version·1.2a1:·</span>More·cases·are·handled·in·a·cooperative·manner.</p>
 147 </div>
 148 </dd></dl>
  
 149 <dl·class="function">
 150 <dt·id="gevent.os.make_nonblocking">
 151 <code·class="descname">make_nonblocking</code><span·class="sig-paren">(</span><em>fd</em><span·class="sig-paren">)</span><a·class="reference·internal"·href="../_modules/gevent/os.html#make_nonblocking"><span·class="viewcode-link">[source]</span></a><a·class="headerlink"·href="#gevent.os.make_nonblocking"·title="Permalink·to·this·definition">¶</a></dt>
 152 <dd><p>Put·the·file·descriptor·<em>fd</em>·into·non-blocking·mode·if
 153 possible.</p>
 154 <table·class="docutils·field-list"·frame="void"·rules="none">
 155 <col·class="field-name"·/>
 156 <col·class="field-body"·/>
 157 <tbody·valign="top">
 158 <tr·class="field-odd·field"><th·class="field-name">Returns:</th><td·class="field-body">A·boolean·value·that·evaluates·to·True·if·successful.</td>
 159 </tr>
 160 </tbody>
 161 </table>
 162 </dd></dl>
  
 163 <dl·class="function">
 164 <dt·id="gevent.os.nb_read">
 165 <code·class="descname">nb_read</code><span·class="sig-paren">(</span><em>fd</em>,·<em>n</em><span·class="sig-paren">)</span><a·class="reference·internal"·href="../_modules/gevent/os.html#nb_read"><span·class="viewcode-link">[source]</span></a><a·class="headerlink"·href="#gevent.os.nb_read"·title="Permalink·to·this·definition">¶</a></dt>
 166 <dd><p>Read·up·to·<em>n</em>·bytes·from·file·descriptor·<em>fd</em>.·Return·a
 167 byte·string·containing·the·bytes·read,·which·may·be·shorter·than
 168 <em>n</em>.·If·end-of-file·is·reached,·an·empty·string·is·returned.</p>
 169 <p>The·descriptor·must·be·in·non-blocking·mode.</p>
 170 </dd></dl>
  
 171 <dl·class="function">
 172 <dt·id="gevent.os.fork">
 173 <code·class="descname">fork</code><span·class="sig-paren">(</span><em>*args</em>,·<em>**kwargs</em><span·class="sig-paren">)</span><a·class="reference·internal"·href="../_modules/gevent/os.html#fork"><span·class="viewcode-link">[source]</span></a><a·class="headerlink"·href="#gevent.os.fork"·title="Permalink·to·this·definition">¶</a></dt>
 174 <dd><p>Forks·a·child·process·and·starts·a·child·watcher·for·it·in·the
 175 parent·process·so·that·<code·class="docutils·literal·notranslate"><span·class="pre">waitpid</span></code>·and·SIGCHLD·work·as·expected.</p>
 176 <p>This·implementation·of·<code·class="docutils·literal·notranslate"><span·class="pre">fork</span></code>·is·a·wrapper·for·<a·class="reference·internal"·href="#gevent.os.fork_and_watch"·title="gevent.os.fork_and_watch"><code·class="xref·py·py-func·docutils·literal·notranslate"><span·class="pre">fork_and_watch()</span></code></a>
 177 when·the·environment·variable·<code·class="docutils·literal·notranslate"><span·class="pre">GEVENT_NOWAITPID</span></code>·is·<em>not</em>·defined.
 178 This·is·the·default·and·should·be·used·by·most·applications.</p>
 179 <div·class="versionchanged">
 180 <p><span·class="versionmodified">Changed·in·version·1.1b2.</span></p>
 181 </div>
 182 </dd></dl>
  
 183 <dl·class="function">
96 <dt·id="gevent.os.fork_and_watch">184 <dt·id="gevent.os.fork_and_watch">
97 <code·class="descname">fork_and_watch</code><span·class="sig-paren">(</span><em>callback=None</em>,·<em>loop=None</em>,·<em>ref=False</em>,·<em>fork=&lt;function·fork_gevent&gt;</em><span·class="sig-paren">)</span><a·class="reference·internal"·href="../_modules/gevent/os.html#fork_and_watch"><span·class="viewcode-link">[source]</span></a><a·class="headerlink"·href="#gevent.os.fork_and_watch"·title="Permalink·to·this·definition">¶</a></dt>185 <code·class="descname">fork_and_watch</code><span·class="sig-paren">(</span><em>callback=None</em>,·<em>loop=None</em>,·<em>ref=False</em>,·<em>fork=&lt;function·fork_gevent&gt;</em><span·class="sig-paren">)</span><a·class="reference·internal"·href="../_modules/gevent/os.html#fork_and_watch"><span·class="viewcode-link">[source]</span></a><a·class="headerlink"·href="#gevent.os.fork_and_watch"·title="Permalink·to·this·definition">¶</a></dt>
98 <dd><p>Fork·a·child·process·and·start·a·child·watcher·for·it·in·the·parent·process.</p>186 <dd><p>Fork·a·child·process·and·start·a·child·watcher·for·it·in·the·parent·process.</p>
99 <p>This·call·cooperates·with·<a·class="reference·internal"·href="#gevent.os.waitpid"·title="gevent.os.waitpid"><code·class="xref·py·py-func·docutils·literal·notranslate"><span·class="pre">waitpid()</span></code></a>·to·enable·cooperatively·waiting187 <p>This·call·cooperates·with·<a·class="reference·internal"·href="#gevent.os.waitpid"·title="gevent.os.waitpid"><code·class="xref·py·py-func·docutils·literal·notranslate"><span·class="pre">waitpid()</span></code></a>·to·enable·cooperatively·waiting
100 for·children·to·finish.·When·monkey-patching,·these·functions·are·patched·in·as188 for·children·to·finish.·When·monkey-patching,·these·functions·are·patched·in·as
101 <a·class="reference·external"·href="http://docs.python.org/library/os.html#os.fork"·title="(in·Python·v2.7)"><code·class="xref·py·py-func·docutils·literal·notranslate"><span·class="pre">os.fork()</span></code></a>·and·<a·class="reference·external"·href="http://docs.python.org/library/os.html#os.waitpid"·title="(in·Python·v2.7)"><code·class="xref·py·py-func·docutils·literal·notranslate"><span·class="pre">os.waitpid()</span></code></a>,·respectively.</p>189 <a·class="reference·external"·href="http://docs.python.org/library/os.html#os.fork"·title="(in·Python·v2.7)"><code·class="xref·py·py-func·docutils·literal·notranslate"><span·class="pre">os.fork()</span></code></a>·and·<a·class="reference·external"·href="http://docs.python.org/library/os.html#os.waitpid"·title="(in·Python·v2.7)"><code·class="xref·py·py-func·docutils·literal·notranslate"><span·class="pre">os.waitpid()</span></code></a>,·respectively.</p>
102 <p>In·the·child·process,·this·function·calls·<code·class="xref·py·py-func·docutils·literal·notranslate"><span·class="pre">gevent.hub.reinit()</span></code>·before·returning.</p>190 <p>In·the·child·process,·this·function·calls·<code·class="xref·py·py-func·docutils·literal·notranslate"><span·class="pre">gevent.hub.reinit()</span></code>·before·returning.</p>
Offset 125, 50 lines modifiedOffset 219, 22 lines modified
125 <div·class="admonition·seealso">219 <div·class="admonition·seealso">
126 <p·class="first·admonition-title">See·also</p>220 <p·class="first·admonition-title">See·also</p>
127 <p·class="last"><a·class="reference·internal"·href="gevent.monkey.html#gevent.monkey.get_original"·title="gevent.monkey.get_original"><code·class="xref·py·py-func·docutils·literal·notranslate"><span·class="pre">gevent.monkey.get_original()</span></code></a>·To·access·the·builtin·<a·class="reference·external"·href="http://docs.python.org/library/os.html#os.fork"·title="(in·Python·v2.7)"><code·class="xref·py·py-func·docutils·literal·notranslate"><span·class="pre">os.fork()</span></code></a>.</p>221 <p·class="last"><a·class="reference·internal"·href="gevent.monkey.html#gevent.monkey.get_original"·title="gevent.monkey.get_original"><code·class="xref·py·py-func·docutils·literal·notranslate"><span·class="pre">gevent.monkey.get_original()</span></code></a>·To·access·the·builtin·<a·class="reference·external"·href="http://docs.python.org/library/os.html#os.fork"·title="(in·Python·v2.7)"><code·class="xref·py·py-func·docutils·literal·notranslate"><span·class="pre">os.fork()</span></code></a>.</p>
128 </div>222 </div>
129 </dd></dl>223 </dd></dl>
  
130 <dl·class="function">224 <dl·class="function">
131 <dt·id="gevent.os.forkpty_and_watch"> 
132 <code·class="descname">forkpty_and_watch</code><span·class="sig-paren">(</span><em>callback=None</em>,·<em>loop=None</em>,·<em>ref=False</em>,·<em>forkpty=&lt;function·forkpty_gevent&gt;</em><span·class="sig-paren">)</span><a·class="reference·internal"·href="../_modules/gevent/os.html#forkpty_and_watch"><span·class="viewcode-link">[source]</span></a><a·class="headerlink"·href="#gevent.os.forkpty_and_watch"·title="Permalink·to·this·definition">¶</a></dt> 
133 <dd><p>Like·<a·class="reference·internal"·href="#gevent.os.fork_and_watch"·title="gevent.os.fork_and_watch"><code·class="xref·py·py-func·docutils·literal·notranslate"><span·class="pre">fork_and_watch()</span></code></a>,·except·using·<a·class="reference·internal"·href="#gevent.os.forkpty_gevent"·title="gevent.os.forkpty_gevent"><code·class="xref·py·py-func·docutils·literal·notranslate"><span·class="pre">forkpty_gevent()</span></code></a>.</p> 
134 <p>Availability:·Some·Unix·systems.</p> 
135 <div·class="versionadded"> 
136 <p><span·class="versionmodified">New·in·version·1.1b5.</span></p> 
137 </div> 
138 </dd></dl> 
  
139 <dl·class="function"> 
140 <dt·id="gevent.os.tp_write">225 <dt·id="gevent.os.tp_write">
Max diff block lines reached; 11943/23971 bytes (49.82%) of diff not shown.