[pypy-commit] pypy default: Clarify this point

arigo noreply at buildbot.pypy.org
Sun Feb 12 18:03:09 CET 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r52393:ab23bf4e4b91
Date: 2012-02-12 18:02 +0100
http://bitbucket.org/pypy/pypy/changeset/ab23bf4e4b91/

Log:	Clarify this point

diff --git a/pypy/doc/coding-guide.rst b/pypy/doc/coding-guide.rst
--- a/pypy/doc/coding-guide.rst
+++ b/pypy/doc/coding-guide.rst
@@ -388,7 +388,9 @@
   In a few cases (e.g. hash table manipulation), we need machine-sized unsigned
   arithmetic.  For these cases there is the r_uint class, which is a pure
   Python implementation of word-sized unsigned integers that silently wrap
-  around.  The purpose of this class (as opposed to helper functions as above)
+  around.  ("word-sized" and "machine-sized" are used equivalently and mean
+  the native size, which you get using "unsigned long" in C.)
+  The purpose of this class (as opposed to helper functions as above)
   is consistent typing: both Python and the annotator will propagate r_uint
   instances in the program and interpret all the operations between them as
   unsigned.  Instances of r_uint are special-cased by the code generators to


More information about the pypy-commit mailing list