Message103797
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:09 | eric.smith | set | recipients:
+ eric.smith, rhettinger, ezio.melotti, Arfrever |
2010-04-21 00:21:09 | eric.smith | set | messageid: <1271809269.08.0.398036519306.issue8413@psf.upfronthosting.co.za> |
2010-04-21 00:21:07 | eric.smith | link | issue8413 messages |
2010-04-21 00:21:06 | eric.smith | create | |
|