]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-35178: Fix warnings._formatwarnmsg() (GH-12033)
authorXtreak <tir.karthi@gmail.com>
Fri, 1 Mar 2019 17:17:55 +0000 (22:47 +0530)
committerVictor Stinner <vstinner@redhat.com>
Fri, 1 Mar 2019 17:17:55 +0000 (18:17 +0100)
commitbe7c460fb50efe3b88a00281025d76acc62ad2fd
tree3646fb5a8f89312c018a5bcc3629558f476964bc
parent91b9ecf82c3287b45f39158c5134a87414ff26bc
bpo-35178: Fix warnings._formatwarnmsg() (GH-12033)

Ensure custom formatwarning function can receive line as positional argument.

Co-Authored-By: Tashrif Billah <tashrifbillah@gmail.com>
Lib/test/test_warnings/__init__.py
Lib/warnings.py
Misc/NEWS.d/next/Library/2019-02-25-23-04-00.bpo-35178.NA_rXa.rst [new file with mode: 0644]