• Home
  • Raw
  • Download

Lines Matching full:generation

77 "collect($module, /, generation=2)\n"
83 "may be an integer specifying which generation to collect. A ValueError\n"
84 "is raised if the generation number is invalid.\n"
92 gc_collect_impl(PyObject *module, int generation);
107 .ob_item = { &_Py_ID(generation), }, in gc_collect()
116 static const char * const _keywords[] = {"generation", NULL}; in gc_collect()
125 int generation = NUM_GENERATIONS - 1; in gc_collect() local
135 generation = PyLong_AsInt(args[0]); in gc_collect()
136 if (generation == -1 && PyErr_Occurred()) { in gc_collect()
140 _return_value = gc_collect_impl(module, generation); in gc_collect()
376 "get_objects($module, /, generation=None)\n"
381 " generation\n"
382 " Generation to extract the objects from.\n"
384 "If generation is not None, return only the objects tracked by the collector\n"
385 "that are in that generation.");
391 gc_get_objects_impl(PyObject *module, Py_ssize_t generation);
406 .ob_item = { &_Py_ID(generation), }, in gc_get_objects()
415 static const char * const _keywords[] = {"generation", NULL}; in gc_get_objects()
424 Py_ssize_t generation = -1; in gc_get_objects() local
433 if (!_Py_convert_optional_to_ssize_t(args[0], &generation)) { in gc_get_objects()
437 return_value = gc_get_objects_impl(module, generation); in gc_get_objects()
447 "Return a list of dictionaries containing per-generation statistics.");
545 "Unfreeze all objects in the permanent generation.\n"
547 "Put all objects in the permanent generation back into oldest generation.");
565 "Return the number of objects in the permanent generation.");