[issue19984] Add new format of fix length string for PyErr_Format

2013-12-14 Thread Vajrasky Kok
Changes by Vajrasky Kok : Removed file: http://bugs.python.org/file33141/add_T_format_for_PyErr_Format.patch ___ Python tracker ___ ___ Pytho

[issue19984] Add new format of fix length string for PyErr_Format

2013-12-14 Thread Vajrasky Kok
Changes by Vajrasky Kok : Added file: http://bugs.python.org/file33142/add_T_format_for_PyErr_Format.patch ___ Python tracker ___ ___ Python-b

[issue19984] Add new format of fix length string for PyErr_Format

2013-12-14 Thread Vajrasky Kok
New submission from Vajrasky Kok: This ticket sprung from this discussion: https://mail.python.org/pipermail/python-dev/2013-December/130756.html Basically I am always confused when writing error message in C-API. Is it: PyErr_Format(PyExc_TypeError,"can't intern %.400s", s->ob_type->tp_name);