| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
| * ``uncollectable`` is the total number of objects which were found | ||
| to be uncollectable (and were therefore moved to the :data:`garbage` | ||
| list) inside this generation. | ||
| list) inside this generation; |
There was a problem hiding this comment.
| list) inside this generation; | |
| list) inside this generation. |
Sorry, something went wrong.
There was a problem hiding this comment.
I just did this for consistency with the above points, haha.
Sorry, something went wrong.
| @@ -1928,7 +1928,8 @@ invoke_gc_callback(PyThreadState *tstate, const char *phase, | |||
| info = Py_BuildValue("{sisnsn}", | |||
There was a problem hiding this comment.
You need to change this line to
| info = Py_BuildValue("{sisnsn}", | |
| info = Py_BuildValue("{sisnsnsd}", |
no?
Sorry, something went wrong.
There was a problem hiding this comment.
Nice catch, thanks. Annoying that it just ignores trailing args like that.
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM I left some comments
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This adds a useful "duration" stat to gc.get_stats and gc.callbacks. It also fixes an issue where the existing timer could be used uninitialized if the GC's debug flags are set during a collection.
📚 Documentation preview 📚: https://cpython-previews--141720.org.readthedocs.build/