Author: Alex Gaynor <alex.gay...@gmail.com> Branch: Changeset: r53963:0e91fc5fa900 Date: 2012-03-24 12:12 -0400 http://bitbucket.org/pypy/pypy/changeset/0e91fc5fa900/
Log: merged upstream diff --git a/pypy/doc/you-want-to-help.rst b/pypy/doc/you-want-to-help.rst --- a/pypy/doc/you-want-to-help.rst +++ b/pypy/doc/you-want-to-help.rst @@ -60,9 +60,14 @@ xxx -* Garbage Collectors +* Garbage Collectors: as you can notice, there are no ``Py_INCREF/Py_DECREF`` + equivalents in RPython code. `Garbage collection in PyPy`_ is inserted + during translation. Moreover, this is not reference counting; it is a real + GC written as more RPython code. The best one we have so far is in + ``rpython/memory/gc/minimark.py``. - xxx +.. _`Garbage collection in PyPy`: garbage_collection.html + Toolset ======= diff --git a/pypy/translator/test/test_unsimplify.py b/pypy/translator/test/test_unsimplify.py --- a/pypy/translator/test/test_unsimplify.py +++ b/pypy/translator/test/test_unsimplify.py @@ -78,7 +78,7 @@ return x * 6 def hello_world(): if we_are_translated(): - fd = os.open(tmpfile, os.O_WRONLY | os.O_CREAT, 0) + fd = os.open(tmpfile, os.O_WRONLY | os.O_CREAT, 0644) os.close(fd) graph, t = translate(f, [int], type_system) call_initial_function(t, hello_world) @@ -97,7 +97,7 @@ return x * 6 def goodbye_world(): if we_are_translated(): - fd = os.open(tmpfile, os.O_WRONLY | os.O_CREAT, 0) + fd = os.open(tmpfile, os.O_WRONLY | os.O_CREAT, 0644) os.close(fd) graph, t = translate(f, [int], type_system) call_final_function(t, goodbye_world) _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit