52.6 KB
/srv/reproducible-results/rbuild-debian/tmp.WmD6tE5k0s/b1/python-gevent_1.3.7-1_arm64.changes vs.
/srv/reproducible-results/rbuild-debian/tmp.WmD6tE5k0s/b2/python-gevent_1.3.7-1_arm64.changes
576 B
Files
    
Offset 1, 6 lines modifiedOffset 1, 6 lines modified
  
1 ·06b70c6ab6436ee7ce2e77bf3f7c900b·5211580·debug·optional·python-gevent-dbg_1.3.7-1_arm64.deb1 ·06b70c6ab6436ee7ce2e77bf3f7c900b·5211580·debug·optional·python-gevent-dbg_1.3.7-1_arm64.deb
2 ·c396491df3c317e62d850de004fe131e·480812·doc·optional·python-gevent-doc_1.3.7-1_all.deb2 ·ff7ffb7d3c506d75e68e82a4d2fb8e6b·480744·doc·optional·python-gevent-doc_1.3.7-1_all.deb
3 ·f5b60c8de984a96a5261af4365a4d8b4·737888·python·optional·python-gevent_1.3.7-1_arm64.deb3 ·f5b60c8de984a96a5261af4365a4d8b4·737888·python·optional·python-gevent_1.3.7-1_arm64.deb
4 ·04b2e79a9fc4c3c39c4f9e74c3958a43·5521400·debug·optional·python3-gevent-dbg_1.3.7-1_arm64.deb4 ·04b2e79a9fc4c3c39c4f9e74c3958a43·5521400·debug·optional·python3-gevent-dbg_1.3.7-1_arm64.deb
5 ·4a73cd1217241233dfd7f30ee6ef2e73·684024·python·optional·python3-gevent_1.3.7-1_arm64.deb5 ·4a73cd1217241233dfd7f30ee6ef2e73·684024·python·optional·python3-gevent_1.3.7-1_arm64.deb
51.9 KB
python-gevent-doc_1.3.7-1_all.deb
367 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·····6940·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···473612·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
51.4 KB
data.tar.xz
51.4 KB
data.tar
35.7 KB
./usr/share/doc/python-gevent/html/api/gevent._ssl2.html
Ordering differences only
    
Offset 59, 138 lines modifiedOffset 59, 74 lines modified
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="attribute">65 <dl·class="attribute">
66 <dt·id="gevent._ssl2.socket_error">66 <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>67 <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>68 <dd><p>alias·of·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ssl.SSLCertVerificationError</span></code></p>
 69 </dd></dl>
  
 70 <dl·class="exception">
 71 <dt·id="gevent._ssl2.SSLWantReadError">
 72 <em·class="property">exception·</em><code·class="descname">SSLWantReadError</code><a·class="headerlink"·href="#gevent._ssl2.SSLWantReadError"·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>
 74 <p>Non-blocking·SSL·socket·needs·to·read·more·data
 75 before·the·requested·operation·can·be·completed.</p>
69 </dd></dl>76 </dd></dl>
  
70 <dl·class="exception">77 <dl·class="exception">
71 <dt·id="gevent._ssl2.SSLCertVerificationError">78 <dt·id="gevent._ssl2.SSLCertVerificationError">
72 <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 <em·class="property">exception·</em><code·class="descname">SSLCertVerificationError</code><a·class="headerlink"·href="#gevent._ssl2.SSLCertVerificationError"·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>,·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ValueError</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>,·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ValueError</span></code></p>
74 <p>A·certificate·could·not·be·verified.</p>81 <p>A·certificate·could·not·be·verified.</p>
75 </dd></dl>82 </dd></dl>
  
76 <dl·class="exception">83 <dl·class="exception">
77 <dt·id="gevent._ssl2.SSLZeroReturnError"> 
78 <em·class="property">exception·</em><code·class="descname">SSLZeroReturnError</code><a·class="headerlink"·href="#gevent._ssl2.SSLZeroReturnError"·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></p> 
80 <p>SSL/TLS·session·closed·cleanly.</p> 
81 </dd></dl> 
  
82 <dl·class="exception"> 
83 <dt·id="gevent._ssl2.SSLSyscallError">84 <dt·id="gevent._ssl2.SSLWantWriteError">
84 <em·class="property">exception·</em><code·class="descname">SSLSyscallError</code><a·class="headerlink"·href="#gevent._ssl2.SSLSyscallError"·title="Permalink·to·this·definition">¶</a></dt>85 <em·class="property">exception·</em><code·class="descname">SSLWantWriteError</code><a·class="headerlink"·href="#gevent._ssl2.SSLWantWriteError"·title="Permalink·to·this·definition">¶</a></dt>
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>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>
86 <p>System·error·when·attempting·SSL·operation.</p>87 <p>Non-blocking·SSL·socket·needs·to·write·more·data
 88 before·the·requested·operation·can·be·completed.</p>
87 </dd></dl>89 </dd></dl>
  
88 <dl·class="exception">90 <dl·class="exception">
89 <dt·id="gevent._ssl2.SSLError">91 <dt·id="gevent._ssl2.SSLError">
90 <em·class="property">exception·</em><code·class="descname">SSLError</code><a·class="headerlink"·href="#gevent._ssl2.SSLError"·title="Permalink·to·this·definition">¶</a></dt>92 <em·class="property">exception·</em><code·class="descname">SSLError</code><a·class="headerlink"·href="#gevent._ssl2.SSLError"·title="Permalink·to·this·definition">¶</a></dt>
91 <dd><p>Bases:·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">OSError</span></code></p>93 <dd><p>Bases:·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">OSError</span></code></p>
92 <p>An·error·occurred·in·the·SSL·implementation.</p>94 <p>An·error·occurred·in·the·SSL·implementation.</p>
93 </dd></dl>95 </dd></dl>
  
94 <dl·class="exception">96 <dl·class="exception">
 97 <dt·id="gevent._ssl2.SSLSyscallError">
 98 <em·class="property">exception·</em><code·class="descname">SSLSyscallError</code><a·class="headerlink"·href="#gevent._ssl2.SSLSyscallError"·title="Permalink·to·this·definition">¶</a></dt>
 99 <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>
 100 <p>System·error·when·attempting·SSL·operation.</p>
 101 </dd></dl>
  
 102 <dl·class="exception">
95 <dt·id="gevent._ssl2.SSLEOFError">103 <dt·id="gevent._ssl2.SSLEOFError">
96 <em·class="property">exception·</em><code·class="descname">SSLEOFError</code><a·class="headerlink"·href="#gevent._ssl2.SSLEOFError"·title="Permalink·to·this·definition">¶</a></dt>104 <em·class="property">exception·</em><code·class="descname">SSLEOFError</code><a·class="headerlink"·href="#gevent._ssl2.SSLEOFError"·title="Permalink·to·this·definition">¶</a></dt>
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>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>
98 <p>SSL/TLS·connection·terminated·abruptly.</p>106 <p>SSL/TLS·connection·terminated·abruptly.</p>
99 </dd></dl>107 </dd></dl>
  
100 <dl·class="attribute">108 <dl·class="attribute">
101 <dt·id="gevent._ssl2.CertificateError">109 <dt·id="gevent._ssl2.socket_error">
102 <code·class="descname">CertificateError</code><a·class="headerlink"·href="#gevent._ssl2.CertificateError"·title="Permalink·to·this·definition">¶</a></dt>110 <code·class="descname">socket_error</code><a·class="headerlink"·href="#gevent._ssl2.socket_error"·title="Permalink·to·this·definition">¶</a></dt>
103 <dd><p>alias·of·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">ssl.SSLCertVerificationError</span></code></p>111 <dd><p>alias·of·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">builtins.OSError</span></code></p>
104 </dd></dl> 
  
105 <dl·class="exception"> 
106 <dt·id="gevent._ssl2.SSLWantWriteError"> 
107 <em·class="property">exception·</em><code·class="descname">SSLWantWriteError</code><a·class="headerlink"·href="#gevent._ssl2.SSLWantWriteError"·title="Permalink·to·this·definition">¶</a></dt> 
108 <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 <p>Non-blocking·SSL·socket·needs·to·write·more·data 
110 before·the·requested·operation·can·be·completed.</p> 
111 </dd></dl>112 </dd></dl>
  
112 <dl·class="exception">113 <dl·class="exception">
113 <dt·id="gevent._ssl2.SSLWantReadError">114 <dt·id="gevent._ssl2.SSLZeroReturnError">
114 <em·class="property">exception·</em><code·class="descname">SSLWantReadError</code><a·class="headerlink"·href="#gevent._ssl2.SSLWantReadError"·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>
115 <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>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>
116 <p>Non-blocking·SSL·socket·needs·to·read·more·data 
117 before·the·requested·operation·can·be·completed.</p> 
118 </dd></dl> 
  
119 <dl·class="class"> 
120 <dt·id="gevent._ssl2.Options"> 
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> 
122 <dd><p>Bases:·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">enum.IntFlag</span></code></p> 
123 <p>An·enumeration.</p> 
124 </dd></dl> 
  
125 <dl·class="class"> 
126 <dt·id="gevent._ssl2.SSLErrorNumber"> 
127 <em·class="property">class·</em><code·class="descname">SSLErrorNumber</code><a·class="headerlink"·href="#gevent._ssl2.SSLErrorNumber"·title="Permalink·to·this·definition">¶</a></dt> 
128 <dd><p>Bases:·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">enum.IntEnum</span></code></p> 
129 <p>An·enumeration.</p> 
130 </dd></dl> 
  
131 <dl·class="class"> 
132 <dt·id="gevent._ssl2.DefaultVerifyPaths"> 
133 <em·class="property">class·</em><code·class="descname">DefaultVerifyPaths</code><span·class="sig-paren">(</span><em>cafile</em>,·<em>capath</em>,·<em>openssl_cafile_env</em>,·<em>openssl_cafile</em>,·<em>openssl_capath_env</em>,·<em>openssl_capath</em><span·class="sig-paren">)</span><a·class="headerlink"·href="#gevent._ssl2.DefaultVerifyPaths"·title="Permalink·to·this·definition">¶</a></dt> 
134 <dd><p>Bases:·<code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">tuple</span></code></p> 
135 <p>Create·new·instance·of·DefaultVerifyPaths(cafile,·capath,·openssl_cafile_env,·openssl_cafile,·openssl_capath_env,·openssl_capath)</p> 
136 <dl·class="attribute"> 
137 <dt·id="gevent._ssl2.DefaultVerifyPaths.cafile"> 
138 <code·class="descname">cafile</code><a·class="headerlink"·href="#gevent._ssl2.DefaultVerifyPaths.cafile"·title="Permalink·to·this·definition">¶</a></dt> 
139 <dd><p>Alias·for·field·number·0</p> 
140 </dd></dl> 
  
141 <dl·class="attribute"> 
142 <dt·id="gevent._ssl2.DefaultVerifyPaths.capath"> 
143 <code·class="descname">capath</code><a·class="headerlink"·href="#gevent._ssl2.DefaultVerifyPaths.capath"·title="Permalink·to·this·definition">¶</a></dt> 
144 <dd><p>Alias·for·field·number·1</p> 
145 </dd></dl> 
  
146 <dl·class="attribute"> 
147 <dt·id="gevent._ssl2.DefaultVerifyPaths.openssl_cafile"> 
148 <code·class="descname">openssl_cafile</code><a·class="headerlink"·href="#gevent._ssl2.DefaultVerifyPaths.openssl_cafile"·title="Permalink·to·this·definition">¶</a></dt> 
149 <dd><p>Alias·for·field·number·3</p> 
150 </dd></dl> 
  
151 <dl·class="attribute"> 
152 <dt·id="gevent._ssl2.DefaultVerifyPaths.openssl_cafile_env"> 
153 <code·class="descname">openssl_cafile_env</code><a·class="headerlink"·href="#gevent._ssl2.DefaultVerifyPaths.openssl_cafile_env"·title="Permalink·to·this·definition">¶</a></dt> 
154 <dd><p>Alias·for·field·number·2</p> 
Max diff block lines reached; 24941/36411 bytes (68.50%) of diff not shown.
15.6 KB
./usr/share/doc/python-gevent/html/api/gevent.os.html
Ordering differences only
    
Offset 89, 23 lines modifiedOffset 89, 75 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.tp_read">
 97 <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>
 98 <dd><p>Read·up·to·<em>n</em>·bytes·from·file·descriptor·<em>fd</em>.·Return·a·string
 99 containing·the·bytes·read.·If·end-of-file·is·reached,·an·empty·string
 100 is·returned.</p>
 101 <p>Reading·is·done·using·the·threadpool.</p>
 102 </dd></dl>
  
 103 <dl·class="function">
 104 <dt·id="gevent.os.fork">
 105 <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>
 106 <dd><p>Forks·a·child·process·and·starts·a·child·watcher·for·it·in·the
 107 parent·process·so·that·<code·class="docutils·literal·notranslate"><span·class="pre">waitpid</span></code>·and·SIGCHLD·work·as·expected.</p>
 108 <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>
 109 when·the·environment·variable·<code·class="docutils·literal·notranslate"><span·class="pre">GEVENT_NOWAITPID</span></code>·is·<em>not</em>·defined.
 110 This·is·the·default·and·should·be·used·by·most·applications.</p>
 111 <div·class="versionchanged">
 112 <p><span·class="versionmodified">Changed·in·version·1.1b2.</span></p>
 113 </div>
 114 </dd></dl>
  
 115 <dl·class="function">
96 <dt·id="gevent.os.nb_write">116 <dt·id="gevent.os.nb_write">
97 <code·class="descname">nb_write</code><span·class="sig-paren">(</span><em>fd</em>,·<em>buf</em><span·class="sig-paren">)</span><a·class="reference·internal"·href="../_modules/gevent/os.html#nb_write"><span·class="viewcode-link">[source]</span></a><a·class="headerlink"·href="#gevent.os.nb_write"·title="Permalink·to·this·definition">¶</a></dt>117 <code·class="descname">nb_write</code><span·class="sig-paren">(</span><em>fd</em>,·<em>buf</em><span·class="sig-paren">)</span><a·class="reference·internal"·href="../_modules/gevent/os.html#nb_write"><span·class="viewcode-link">[source]</span></a><a·class="headerlink"·href="#gevent.os.nb_write"·title="Permalink·to·this·definition">¶</a></dt>
98 <dd><p>Write·some·number·of·bytes·from·buffer·<em>buf</em>·to·file118 <dd><p>Write·some·number·of·bytes·from·buffer·<em>buf</em>·to·file
99 descriptor·<em>fd</em>.·Return·the·number·of·bytes·written,·which·may119 descriptor·<em>fd</em>.·Return·the·number·of·bytes·written,·which·may
100 be·less·than·the·length·of·<em>buf</em>.</p>120 be·less·than·the·length·of·<em>buf</em>.</p>
101 <p>The·file·descriptor·must·be·in·non-blocking·mode.</p>121 <p>The·file·descriptor·must·be·in·non-blocking·mode.</p>
102 </dd></dl>122 </dd></dl>
  
103 <dl·class="function">123 <dl·class="function">
 124 <dt·id="gevent.os.tp_write">
 125 <code·class="descname">tp_write</code><span·class="sig-paren">(</span><em>fd</em>,·<em>buf</em><span·class="sig-paren">)</span><a·class="reference·internal"·href="../_modules/gevent/os.html#tp_write"><span·class="viewcode-link">[source]</span></a><a·class="headerlink"·href="#gevent.os.tp_write"·title="Permalink·to·this·definition">¶</a></dt>
 126 <dd><p>Write·bytes·from·buffer·<em>buf</em>·to·file·descriptor·<em>fd</em>.·Return·the
 127 number·of·bytes·written.</p>
 128 <p>Writing·is·done·using·the·threadpool.</p>
 129 </dd></dl>
  
 130 <dl·class="function">
 131 <dt·id="gevent.os.waitpid">
 132 <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>
 133 <dd><p>Wait·for·a·child·process·to·finish.</p>
 134 <p>If·the·child·process·was·spawned·using
 135 <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
 136 cooperatively.·If·not,·it·<em>may</em>·have·race·conditions;·see
 137 <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>
 138 <p>The·arguments·are·as·for·the·underlying
 139 <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
 140 be·supported·cooperatively·(as·of·1.1·that·includes
 141 WUNTRACED).·Using·a·<em>pid</em>·of·0·to·request·waiting·on·only·processes
 142 from·the·current·process·group·is·not·cooperative.</p>
 143 <p>Availability:·POSIX.</p>
 144 <div·class="versionadded">
 145 <p><span·class="versionmodified">New·in·version·1.1b1.</span></p>
 146 </div>
 147 <div·class="versionchanged">
 148 <p><span·class="versionmodified">Changed·in·version·1.2a1:·</span>More·cases·are·handled·in·a·cooperative·manner.</p>
 149 </div>
 150 </dd></dl>
  
 151 <dl·class="function">
104 <dt·id="gevent.os.fork_and_watch">152 <dt·id="gevent.os.fork_and_watch">
105 <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>153 <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>
106 <dd><p>Fork·a·child·process·and·start·a·child·watcher·for·it·in·the·parent·process.</p>154 <dd><p>Fork·a·child·process·and·start·a·child·watcher·for·it·in·the·parent·process.</p>
107 <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·waiting155 <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
108 for·children·to·finish.·When·monkey-patching,·these·functions·are·patched·in·as156 for·children·to·finish.·When·monkey-patching,·these·functions·are·patched·in·as
109 <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>157 <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>
110 <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>158 <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 134, 33 lines modifiedOffset 186, 26 lines modified
134 <div·class="admonition·seealso">186 <div·class="admonition·seealso">
135 <p·class="first·admonition-title">See·also</p>187 <p·class="first·admonition-title">See·also</p>
136 <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>188 <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>
137 </div>189 </div>
138 </dd></dl>190 </dd></dl>
  
139 <dl·class="function">191 <dl·class="function">
 192 <dt·id="gevent.os.make_nonblocking">
 193 <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>
 194 <dd><p>Put·the·file·descriptor·<em>fd</em>·into·non-blocking·mode·if
 195 possible.</p>
 196 <table·class="docutils·field-list"·frame="void"·rules="none">
 197 <col·class="field-name"·/>
 198 <col·class="field-body"·/>
 199 <tbody·valign="top">
 200 <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>
 201 </tr>
 202 </tbody>
 203 </table>
140 <dt·id="gevent.os.waitpid"> 
141 <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> 
142 <dd><p>Wait·for·a·child·process·to·finish.</p> 
143 <p>If·the·child·process·was·spawned·using 
144 <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 
145 cooperatively.·If·not,·it·<em>may</em>·have·race·conditions;·see 
146 <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> 
147 <p>The·arguments·are·as·for·the·underlying 
148 <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 
149 be·supported·cooperatively·(as·of·1.1·that·includes 
150 WUNTRACED).·Using·a·<em>pid</em>·of·0·to·request·waiting·on·only·processes 
151 from·the·current·process·group·is·not·cooperative.</p> 
152 <p>Availability:·POSIX.</p> 
153 <div·class="versionadded"> 
154 <p><span·class="versionmodified">New·in·version·1.1b1.</span></p> 
155 </div> 
156 <div·class="versionchanged"> 
157 <p><span·class="versionmodified">Changed·in·version·1.2a1:·</span>More·cases·are·handled·in·a·cooperative·manner.</p> 
158 </div> 
159 </dd></dl>204 </dd></dl>
  
160 <dl·class="function">205 <dl·class="function">
161 <dt·id="gevent.os.forkpty_and_watch">206 <dt·id="gevent.os.forkpty_and_watch">
162 <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>207 <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>
163 <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>208 <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>
164 <p>Availability:·Some·Unix·systems.</p>209 <p>Availability:·Some·Unix·systems.</p>
Offset 204, 27 lines modifiedOffset 249, 14 lines modified
204 </div>249 </div>
205 <div·class="versionadded">250 <div·class="versionadded">
206 <p><span·class="versionmodified">New·in·version·1.1b5.</span></p>251 <p><span·class="versionmodified">New·in·version·1.1b5.</span></p>
207 </div>252 </div>
208 </dd></dl>253 </dd></dl>
Max diff block lines reached; 4598/15888 bytes (28.94%) of diff not shown.