Commit 829abee7 authored by Antoine Pitrou's avatar Antoine Pitrou

Merged revisions 80705 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r80705 | antoine.pitrou | 2010-05-02 21:59:47 +0200 (dim., 02 mai 2010) | 10 lines

  Merged revisions 80704 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r80704 | antoine.pitrou | 2010-05-02 21:51:14 +0200 (dim., 02 mai 2010) | 4 lines

    Issue #4687: Fix accuracy of garbage collection runtimes displayed with
    gc.DEBUG_STATS.
  ........
................
parent b08af848
...@@ -40,6 +40,9 @@ Core and Builtins ...@@ -40,6 +40,9 @@ Core and Builtins
Library Library
------- -------
- Issue #4687: Fix accuracy of garbage collection runtimes displayed with
gc.DEBUG_STATS.
- Issue #8464: tarfile no longer creates files with execute permissions set - Issue #8464: tarfile no longer creates files with execute permissions set
when mode="w|" is used. when mode="w|" is used.
......
...@@ -804,13 +804,13 @@ collect(int generation) ...@@ -804,13 +804,13 @@ collect(int generation)
} }
if (debug & DEBUG_STATS) { if (debug & DEBUG_STATS) {
t1 = get_time();
PySys_WriteStderr("gc: collecting generation %d...\n", PySys_WriteStderr("gc: collecting generation %d...\n",
generation); generation);
PySys_WriteStderr("gc: objects in each generation:"); PySys_WriteStderr("gc: objects in each generation:");
for (i = 0; i < NUM_GENERATIONS; i++) for (i = 0; i < NUM_GENERATIONS; i++)
PySys_WriteStderr(" %" PY_FORMAT_SIZE_T "d", PySys_WriteStderr(" %" PY_FORMAT_SIZE_T "d",
gc_list_size(GEN_HEAD(i))); gc_list_size(GEN_HEAD(i)));
t1 = get_time();
PySys_WriteStderr("\n"); PySys_WriteStderr("\n");
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment