Commits

Alex Gaynor committed 0e91fc5 Merge

merged upstream

  • Participants
  • Parent commits 40fccb9, 0b2663c

Comments (0)

Files changed (2)

pypy/doc/you-want-to-help.rst

 
   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
 =======

pypy/translator/test/test_unsimplify.py

             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)
             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)