[issue7608] PyUnicode_FromFormatV handles %R and %S incorrectly.

2009-12-30 Thread Alexandre Vassalotti
Changes by Alexandre Vassalotti : -- stage: test needed -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue7608] PyUnicode_FromFormatV handles %R and %S incorrectly.

2009-12-30 Thread Alexandre Vassalotti
Changes by Alexandre Vassalotti : -- resolution: -> duplicate status: open -> closed superseder: -> PyUnicode_FromFormat broken and not documented for 2.x ___ Python tracker ___

[issue7608] PyUnicode_FromFormatV handles %R and %S incorrectly.

2009-12-30 Thread Alexandre Vassalotti
New submission from Alexandre Vassalotti : It seems PyUnicode_FromFormatV wrongly assumes that the return value of PyObject_Str and PyObject_Repr is a unicode object. It looks like the %S and %R feature was backported from 3.x without updating the code for 2.x. PyObject * PyUnicode_FromFormatV