Author eric.smith
Recipients Arfrever, eric.smith, ezio.melotti, rhettinger
Date 2010-04-21.00:21:06
SpamBayes Score 0.000876983
Marked as misclassified No
Message-id <1271809269.08.0.398036519306.issue8413@psf.upfronthosting.co.za>
In-reply-to
Content
I think the right way to handle this is to modify the test:

if (Py_TYPE(args)->tp_as_mapping && !PyTuple_Check(args) &&
    !PyObject_TypeCheck(args, &PyBaseString_Type))

to also exclude PyStructSequence's, but since they're all distinct types I don't see how to do that. I don't really think listing all of the PyStructSequence types would be acceptable.

This is the test that's trying to figure out if %-formatting should use mapping or tuple expansion.
History
Date User Action Args
2010-04-21 00:21:09eric.smithsetrecipients: + eric.smith, rhettinger, ezio.melotti, Arfrever
2010-04-21 00:21:09eric.smithsetmessageid: <1271809269.08.0.398036519306.issue8413@psf.upfronthosting.co.za>
2010-04-21 00:21:07eric.smithlinkissue8413 messages
2010-04-21 00:21:06eric.smithcreate