[Python-3000] Removal of PyArg_Parse()

skip at pobox.com skip at pobox.com
Sat Aug 25 15:31:50 CEST 2007


    Martin> As for the case of timemodule: the surprising feature is that
    Martin> "(ii)" uses PySequence_Getitem to access the fields, whereas
    Martin> PyArg_ParseTuple uses PyTuple_GET_ITEM, so it won't work for
    Martin> StructSequences.

I believe I've already fixed this (r57416) by inserting an intermediate
function to convert time.struct_time objects to tuples before
PyArgParseTuple sees them.  It would be nice if someone could take a minute
or two and review that change.

Skip


More information about the Python-3000 mailing list