This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.smith
Recipients Arfrever, eric.smith, ezio.melotti, rhettinger
Date 2010-04-21.00:21:06
SpamBayes Score 0.0008769832
Marked as misclassified No
Message-id <>
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.
Date User Action Args
2010-04-21 00:21:09eric.smithsetrecipients: + eric.smith, rhettinger, ezio.melotti, Arfrever
2010-04-21 00:21:09eric.smithsetmessageid: <>
2010-04-21 00:21:07eric.smithlinkissue8413 messages
2010-04-21 00:21:06eric.smithcreate