Message120971
IMO a better patch would be to use the %R format specification:
PyErr_Format(
PyExc_TypeError, "expected some sort of mod, but got %R", obj);
And no need to use PyObject_Repr and the temporary variable! |
|
Date |
User |
Action |
Args |
2010-11-11 21:22:46 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, brett.cannon, georg.brandl, ncoghlan, benjamin.peterson, dmalcolm |
2010-11-11 21:22:46 | amaury.forgeotdarc | set | messageid: <1289510566.54.0.389761541449.issue10391@psf.upfronthosting.co.za> |
2010-11-11 21:22:43 | amaury.forgeotdarc | link | issue10391 messages |
2010-11-11 21:22:43 | amaury.forgeotdarc | create | |
|