Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
pypy.org
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
This instance will be upgraded to Heptapod 17.9.0rc1 on 2025-03-27 between 17:00 and 18:00 UTC+2
Show more breadcrumbs
PyPy
pypy.org
Commits
afbc50a4
Commit
afbc50a4
authored
15 years ago
by
Maciej Fijalkowski
Browse files
Options
Downloads
Patches
Plain Diff
Update html
parent
3ac500ba
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
compat.html
+8
-8
8 additions, 8 deletions
compat.html
download.html
+6
-4
6 additions, 4 deletions
download.html
features.html
+3
-3
3 additions, 3 deletions
features.html
with
17 additions
and
15 deletions
compat.html
+
8
−
8
View file @
afbc50a4
...
...
@@ -47,5 +47,5 @@
<div>
<div
id=
"main"
>
<h1
class=
"title"
>
Python compatibility
</h1>
<p>
PyPy implements Python language version 2.5. It supports all of the core
<p>
PyPy implements
the
Python language version 2.5. It supports all of the core
language, passing Python test suite (with minor modifications that were
...
...
@@ -51,7 +51,7 @@
language, passing Python test suite (with minor modifications that were
already accepted in main python in newer versions). It supports most
of commonly used Python
<a
class=
"reference external"
href=
"http://docs.python.org/library/"
>
standard library modules
</a>
, list
below.
</p>
<p>
PyPy does not support
<a
class=
"reference external"
href=
"http://docs.python.org/c-api/"
>
CPython C API
</a>
, which means that third party
already accepted in
the
main python in newer versions). It supports most
of
the
commonly used Python
<a
class=
"reference external"
href=
"http://docs.python.org/library/"
>
standard library modules
</a>
; details
below.
</p>
<p>
PyPy does not support
the
<a
class=
"reference external"
href=
"http://docs.python.org/c-api/"
>
CPython C API
</a>
, which means that third party
libraries for python, written in C, will not work.
</p>
<p>
Standard library modules supported by PyPy, in alphabetical order:
</p>
<ul
class=
"simple"
>
...
...
@@ -73,5 +73,5 @@
</ul>
<p>
Known differencies that are not going to be fixed:
</p>
<ul>
<li><p
class=
"first"
>
PyPy does not support refcounting semantics. The
code below
<li><p
class=
"first"
>
PyPy does not support refcounting semantics. The
following code
won't fill the file immediately, but only after a certain period
...
...
@@ -77,5 +77,5 @@
won't fill the file immediately, but only after a certain period
of time, when the GC
will
collect
</p>
of time, when the GC
does a
collect
ion:
</p>
<div
class=
"syntax python"
><pre><span
class=
"nb"
>
open
</span><span
class=
"p"
>
(
</span><span
class=
"s"
>
"
filename
"
</span><span
class=
"p"
>
,
</span>
<span
class=
"s"
>
"
w
"
</span><span
class=
"p"
>
)
</span><span
class=
"o"
>
.
</span><span
class=
"n"
>
write
</span><span
class=
"p"
>
(
</span><span
class=
"s"
>
"
stuff
"
</span><span
class=
"p"
>
)
</span><br/></pre></div>
<p>
The proper fix is
</p>
<div
class=
"syntax python"
><pre><span
class=
"n"
>
f
</span>
<span
class=
"o"
>
=
</span>
<span
class=
"nb"
>
open
</span><span
class=
"p"
>
(
</span><span
class=
"s"
>
"
filename
"
</span><span
class=
"p"
>
,
</span>
<span
class=
"s"
>
"
w
"
</span><span
class=
"p"
>
)
</span><br/><span
class=
"n"
>
f
</span><span
class=
"o"
>
.
</span><span
class=
"n"
>
write
</span><span
class=
"p"
>
(
</span><span
class=
"s"
>
"
stuff
"
</span><span
class=
"p"
>
)
</span><br/><span
class=
"n"
>
f
</span><span
class=
"o"
>
.
</span><span
class=
"n"
>
close
</span><span
class=
"p"
>
()
</span><br/></pre></div>
...
...
@@ -85,8 +85,8 @@
<li><p
class=
"first"
>
We don't support certain attributes that were decided to be
implementation-dependent. For example,
<tt
class=
"docutils literal"
><span
class=
"pre"
>
gc.get_referrers
</span></tt>
does not exist.
Others may have different behavior; for example,
<tt
class=
"docutils literal"
><span
class=
"pre"
>
gc.enable
</span></tt>
and
<tt
class=
"docutils literal"
><span
class=
"pre"
>
gc.disable
</span></tt>
are supported, but they don't enable and disable GC, but
instead enable and disable running of finalizers.
</p>
<tt
class=
"docutils literal"
><span
class=
"pre"
>
gc.disable
</span></tt>
are supported, but they don't enable and disable
the
GC, but
instead
just
enable and disable
the
running of finalizers.
</p>
</li>
<li><p
class=
"first"
>
You can't attach a
<tt
class=
"docutils literal"
><span
class=
"pre"
>
__del__
</span></tt>
method to a class after its creation.
</p>
</li>
...
...
This diff is collapsed.
Click to expand it.
download.html
+
6
−
4
View file @
afbc50a4
...
...
@@ -48,5 +48,6 @@
<div
id=
"main"
>
<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. This is the first release of PyPy containing JIT, hence
Mac OS/X or Windows. This is the first release of PyPy containing
a JIT compiler, hence
the main goal is to try this out and see how it works for you. We put
...
...
@@ -52,6 +53,6 @@
the main goal is to try this out and see how it works for you. We put
a lot of effort into making JIT a stable piece of software and we don't
observe crashes
,
however, please consider it a beta version to try things out.
</p>
a lot of effort into making
the
JIT a stable piece of software and we don't
observe crashes
;
however, please consider it a beta version to try things out.
</p>
<ul
class=
"download-menu simple"
>
<li>
Download
<ul>
<li><a
class=
"reference internal"
href=
"#with-a-jit-compiler"
>
With a JIT Compiler
</a>
<strong>
(recommended!)
</strong></li>
...
...
@@ -114,7 +115,8 @@
</ul>
<p>
It is also possible to
<a
class=
"reference internal"
href=
"#translate"
>
translate
</a>
a version that includes both
sandboxing and the JIT compiler, although as the JIT is relatively
complicated, this reduce a bit the level of confidence we can put in it.
</p>
complicated, this reduce a bit the level of confidence we can put in
the result.
</p>
<p>
If your CPU is a 64-bit machine and you want to
<a
class=
"reference internal"
href=
"#translate"
>
translate
</a>
a 32-bit
version of PyPy yourself,
<a
class=
"reference internal"
href=
"#here-are-hints"
>
here are hints
</a>
.
</p>
<p>
The Windows and the native 64-bit versions both need testing and careful
...
...
This diff is collapsed.
Click to expand it.
features.html
+
3
−
3
View file @
afbc50a4
...
...
@@ -48,9 +48,9 @@
<div
id=
"main"
>
<h1
class=
"title"
>
Features
</h1>
<p><strong>
PyPy 1.2
</strong>
implements
<strong>
Python 2.5.
</strong>
It supports all of the core
language, passing Python test suite (with minor modifications that were
already accepted in main python in newer versions). It supports most
of commonly used Python standard library modules. For known differences
language, passing
the
Python test suite (with minor modifications that were
already accepted in
the
main python in newer versions). It supports most
of
the
commonly used Python standard library modules. For known differences
with CPython, see our
<a
class=
"reference external"
href=
"compat.html"
>
compatibility
</a>
page. If you are interested in
helping with 2.6, 2.7 or 3.x features,
<a
class=
"reference external"
href=
"contact.html"
>
contact us
</a>
!
</p>
<p>
PyPy 1.2 runs essentially only on Intel
<a
class=
"reference external"
href=
"http://en.wikipedia.org/wiki/IA-32"
>
x86 (IA-32)
</a>
. On 64-bit platforms
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment