[issue20185] Derby #17: Convert 49 sites to Argument Clinic across 13 files
Vajrasky Kok
report at bugs.python.org
Thu Feb 6 15:43:43 CET 2014
Vajrasky Kok added the comment:
Here is the updated patch for gc module.
Some functions that can not be converted:
- set_threshold(threshold0, [threshold1, threshold2])
Don't know what default value to give to threshold1, threshold2.
static struct gc_generation generations[NUM_GENERATIONS] = {
/* PyGC_Head, threshold, count */
{{{GEN_HEAD(0), GEN_HEAD(0), 0}}, 700, 0},
{{{GEN_HEAD(1), GEN_HEAD(1), 0}}, 10, 0},
{{{GEN_HEAD(2), GEN_HEAD(2), 0}}, 10, 0},
};
- collect([generation])
Don't know what default value to give to generation.
int genarg = NUM_GENERATIONS - 1;
I don't think we can use expression in signature.
- get_referrers and get_referents
Don't know what signature to use for functions that can accept any number of arguments.
----------
Added file: http://bugs.python.org/file33944/clinic_gc_v2.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20185>
_______________________________________
More information about the Python-bugs-list
mailing list