Skip to content
Snippets Groups Projects
Commit 9460ba18 authored by Maciej Fijalkowski's avatar Maciej Fijalkowski
Browse files

oops, sorry, checkin everything

parent c1672fdc
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@
</ul></div>
-->
<hr class="clear-left" />
<div id="menu-sub"><a href="index.html">Home</a><span class="menu-sub-sep"> | </span><a href="download.html">Download</a><span class="menu-sub-sep"> | </span><a href="compat.html">Compatibility</a><span class="menu-sub-sep"> | </span><a href="http://speed.pypy.org">Performance</a><span class="menu-sub-sep"> | </span><a href="http://codespeak.net/pypy/trunk/pypy/doc/index.html">Dev Site</a><span class="menu-sub-sep"> | </span><a href="http://morepypy.blogspot.com">Blog</a></div>
<div id="menu-sub"><a href="index.html">Home</a><span class="menu-sub-sep"> | </span><a href="features.html">Features</a><span class="menu-sub-sep"> | </span><a href="download.html">Download</a><span class="menu-sub-sep"> | </span><a href="compat.html">Compatibility</a><span class="menu-sub-sep"> | </span><a href="http://speed.pypy.org">Performance</a><span class="menu-sub-sep"> | </span><a href="http://codespeak.net/pypy/trunk/pypy/doc/index.html">Dev Site</a><span class="menu-sub-sep"> | </span><a href="http://morepypy.blogspot.com">Blog</a></div>
<hr class="clear" />
</div>
<div id="content">
......@@ -81,6 +81,12 @@
</pre>
<p>The proper fix is:</p>
<pre class="literal-block">
f = open(&quot;filename&quot;, &quot;w&quot;)
f.write(&quot;stuff&quot;)
f.close()
</pre>
<p>or using the <tt class="docutils literal"><span class="pre">with</span></tt> keyword:</p>
<pre class="literal-block">
with open(&quot;filename&quot;, &quot;w&quot;) as f:
f.write(&quot;stuff&quot;)
</pre>
......@@ -101,6 +107,7 @@
<p>won't work.</p>
</li>
</ul>
<p>A more complete list is available at <a class="reference external" href="http://codespeak.net/pypy/dist/pypy/doc/cpython_differences.html">our dev site</a>.</p>
</div>
<div id="sidebar">
<ul>
......
......@@ -40,7 +40,7 @@
</ul></div>
-->
<hr class="clear-left" />
<div id="menu-sub"><a href="index.html">Home</a><span class="menu-sub-sep"> | </span><a href="download.html">Download</a><span class="menu-sub-sep"> | </span><a href="compat.html">Compatibility</a><span class="menu-sub-sep"> | </span><a href="http://speed.pypy.org">Performance</a><span class="menu-sub-sep"> | </span><a href="http://codespeak.net/pypy/trunk/pypy/doc/index.html">Dev Site</a><span class="menu-sub-sep"> | </span><a href="http://morepypy.blogspot.com">Blog</a></div>
<div id="menu-sub"><a href="index.html">Home</a><span class="menu-sub-sep"> | </span><a href="features.html">Features</a><span class="menu-sub-sep"> | </span><a href="download.html">Download</a><span class="menu-sub-sep"> | </span><a href="compat.html">Compatibility</a><span class="menu-sub-sep"> | </span><a href="http://speed.pypy.org">Performance</a><span class="menu-sub-sep"> | </span><a href="http://codespeak.net/pypy/trunk/pypy/doc/index.html">Dev Site</a><span class="menu-sub-sep"> | </span><a href="http://morepypy.blogspot.com">Blog</a></div>
<hr class="clear" />
</div>
<div id="content">
......@@ -49,9 +49,14 @@
<h1 class="title">Download and install</h1>
<p>Here are the various binaries of <strong>PyPy 1.2</strong> that we provide for x86 Linux,
Mac OS/X or Windows.</p>
<h2>Warning: site in progress, no binaries available yet</h2>
<ul class="simple">
<table class="docutils">
<colgroup>
<col width="100%" />
</colgroup>
<tbody valign="top">
<tr><td><ul class="first last simple">
<li>Download<ul>
<li><a class="reference internal" href="#with-a-jit-compiler">With a JIT Compiler</a> <strong>(recommended!)</strong></li>
<li><a class="reference internal" href="#with-no-jit-compiler">With no JIT Compiler</a></li>
<li><a class="reference internal" href="#sandboxed-version">Sandboxed version</a></li>
<li><a class="reference internal" href="#stackless-version">Stackless version</a></li>
......@@ -54,6 +59,9 @@
<li><a class="reference internal" href="#with-a-jit-compiler">With a JIT Compiler</a> <strong>(recommended!)</strong></li>
<li><a class="reference internal" href="#with-no-jit-compiler">With no JIT Compiler</a></li>
<li><a class="reference internal" href="#sandboxed-version">Sandboxed version</a></li>
<li><a class="reference internal" href="#stackless-version">Stackless version</a></li>
</ul>
</li>
<li><a class="reference internal" href="#installing">Installing</a> (optional)</li>
<li><a class="reference internal" href="#building-from-source">Building from source</a></li>
</ul>
......@@ -58,8 +66,9 @@
<li><a class="reference internal" href="#building-from-source">Building from source</a></li>
</ul>
<p>The release 1.2 of PyPy supports <strong>Python version 2.5</strong>.
If you are interested in helping
with 2.6, 2.7 or 3.x features, <a class="reference external" href="http://codespeak.net/mailman/listinfo/pypy-dev">contact us</a>!</p>
</td>
</tr>
</tbody>
</table>
<div class="section" id="jit-compiler-version">
<span id="with-a-jit-compiler"></span><h1>&ldquo;JIT Compiler&rdquo; version</h1>
<p>These binaries include a Just-in-Time compiler. They only work on
......@@ -102,7 +111,7 @@
</div>
<div class="section" id="sandbox-version">
<span id="sandboxed-version"></span><h1>&ldquo;Sandbox&rdquo; version</h1>
<p>A special safe version. Read the docs about <a class="reference external" href="sandbox.html">sandboxing</a>. These
<p>A special safe version. Read the docs about <a class="reference external" href="features.html#sandboxing">sandboxing</a>. These
binaries work on 32-bit <a class="reference external" href="http://en.wikipedia.org/wiki/IA-32">x86 (IA-32)</a> CPUs as well as <a class="reference external" href="http://en.wikipedia.org/wiki/X86-64">x86-64</a> CPUs
in the 32-bit compatibility mode.</p>
<ul class="simple">
......@@ -133,9 +142,21 @@
version of PyPy yourself, <a class="reference internal" href="#here-are-hints">here are hints</a>.</p>
<p>For the native 64-bit version, see the issues of the <a class="reference internal" href="#no-jit-version">no jit version.</a>.</p>
</div>
<div class="section" id="installing">
<h1>Installing</h1>
<p>All versions are packaged in a <tt class="docutils literal"><span class="pre">tar.bz2</span></tt> or <tt class="docutils literal"><span class="pre">zip</span></tt> file. When
uncompressed, they run in-place. On Linux or Mac OS/X, they can also be
installed by manually moving the files in the following directories:</p>
<pre class="literal-block">
/usr/bin/pypy-c
/usr/share/pypy-1.2/lib-python/*
/usr/share/pypy-1.2/pypy/*
</pre>
<p>You can also install it to <tt class="docutils literal"><span class="pre">/usr/local/bin</span></tt> and <tt class="docutils literal"><span class="pre">/usr/local/share</span></tt>.</p>
</div>
<div class="section" id="building-from-source">
<span id="translate"></span><h1>Building from source</h1>
<ol class="arabic">
<li><p class="first">Get the source code. The following packages contain the source at
the same revision as the above binaries:</p>
<ul class="simple">
......@@ -136,14 +157,14 @@
<div class="section" id="building-from-source">
<span id="translate"></span><h1>Building from source</h1>
<ol class="arabic">
<li><p class="first">Get the source code. The following packages contain the source at
the same revision as the above binaries:</p>
<ul class="simple">
<li><a class="reference external" href="binaries/pypy-1.2.0.tar.bz2">pypy-1.2.0.tar.bz2</a> (sources, Unix line endings)</li>
<li><a class="reference external" href="binaries/pypy-1.2.0.zip">pypy-1.2.0.zip</a> (sources, Windows line endings)</li>
<li><a class="reference external" href="download/pypy-1.2-src.tar.bz2">pypy-1.2-src.tar.bz2</a> (sources, Unix line endings)</li>
<li><a class="reference external" href="download/pypy-1.2-src.zip">pypy-1.2-src.zip</a> (sources, Windows line endings)</li>
</ul>
<p>Or you can checkout the current trunk using <a class="reference external" href="http://subversion.tigris.org/">Subversion</a> (the trunk
usually works and is of course more up-to-date):</p>
<pre class="literal-block">
svn co http://codespeak.net/svn/pypy/trunk pypy-dist
</pre>
......@@ -144,9 +165,12 @@
</ul>
<p>Or you can checkout the current trunk using <a class="reference external" href="http://subversion.tigris.org/">Subversion</a> (the trunk
usually works and is of course more up-to-date):</p>
<pre class="literal-block">
svn co http://codespeak.net/svn/pypy/trunk pypy-dist
</pre>
<p>Windows users trying the tarballs are expected to use MSVC.
The trunk version contains fixes to support MinGW32. More
information on <a class="reference external" href="http://codespeak.net/pypy/trunk/pypy/doc/windows.html">our dev site</a>.</p>
</li>
<li><p class="first">Enter the <tt class="docutils literal"><span class="pre">goal</span></tt> directory:</p>
<pre class="literal-block">
......@@ -219,4 +243,4 @@
</div>
</div></div></div>
</body>
</html>
</html>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment