summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-05-17 15:16:58 (GMT)
committerGitHub <noreply@github.com>2024-05-17 15:16:58 (GMT)
commitced71d39cfc2ab6e227824fe891101dcb473c2e3 (patch)
tree80b0bb5f4fe7fbfe0389c5a37097b5213a37632b /Misc/NEWS.d
parentada4ad0e247279f54e7e2f90397075fb65bb9b5d (diff)
downloadcpython-ced71d39cfc2ab6e227824fe891101dcb473c2e3.zip
cpython-ced71d39cfc2ab6e227824fe891101dcb473c2e3.tar.gz
cpython-ced71d39cfc2ab6e227824fe891101dcb473c2e3.tar.bz2
[3.13] gh-119049: Fix incorrect display of warning which is constructed by C API (GH-119063) (GH-119106)
The source line was not displayed if the warnings module had not yet been imported. (cherry picked from commit 100c7ab00ab66a8c0d54582f35e38d8eb691743c) Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2024-05-16-23-02-03.gh-issue-119049.qpd_S-.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2024-05-16-23-02-03.gh-issue-119049.qpd_S-.rst b/Misc/NEWS.d/next/Core and Builtins/2024-05-16-23-02-03.gh-issue-119049.qpd_S-.rst
new file mode 100644
index 0000000..1d7aad8
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2024-05-16-23-02-03.gh-issue-119049.qpd_S-.rst
@@ -0,0 +1,2 @@
+Fix displaying the source line for warnings created by the C API if the
+:mod:`warnings` module had not yet been imported.