]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #9425: Create PyErr_WarnFormat() function
authorVictor Stinner <victor.stinner@haypocalc.com>
Fri, 13 Aug 2010 14:03:48 +0000 (14:03 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Fri, 13 Aug 2010 14:03:48 +0000 (14:03 +0000)
commit4a2b7a1b141fcbed6da81d942c9db776874c2fa9
tree0288e22145e35c9d5d92c051800bf1c85e5858b8
parentb4b8eb916372dcb566740455122a28b5ed9631f9
Issue #9425: Create PyErr_WarnFormat() function

Similar to PyErr_WarnEx() but use PyUnicode_FromFormatV() to format the warning
message.

Strip also some trailing spaces.
Doc/c-api/exceptions.rst
Include/warnings.h
Misc/NEWS
Objects/moduleobject.c
Objects/typeobject.c
Objects/unicodeobject.c
Python/_warnings.c