summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorDaehee Kim <zsaladinz@gmail.com>2024-11-12 12:01:56 (GMT)
committerGitHub <noreply@github.com>2024-11-12 12:01:56 (GMT)
commit0ef84b0e2bf511b2cb5268a9ce64d7f2209fb3c4 (patch)
tree1b1db67d34cdf081955734d872f5d4851ee4796c /Misc/NEWS.d
parentf223efb2a2d6a3e86556be7295cbbd3ef839f489 (diff)
downloadcpython-0ef84b0e2bf511b2cb5268a9ce64d7f2209fb3c4.zip
cpython-0ef84b0e2bf511b2cb5268a9ce64d7f2209fb3c4.tar.gz
cpython-0ef84b0e2bf511b2cb5268a9ce64d7f2209fb3c4.tar.bz2
gh-126209: Fix inconsistency of `skip_file_prefixes` in `warnings.warn`'s C and Python implementations (GH-126329)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> 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-11-02-18-01-31.gh-issue-126209.2ZIhrS.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core_and_Builtins/2024-11-02-18-01-31.gh-issue-126209.2ZIhrS.rst b/Misc/NEWS.d/next/Core_and_Builtins/2024-11-02-18-01-31.gh-issue-126209.2ZIhrS.rst
new file mode 100644
index 0000000..727f7f8
--- /dev/null
+++ b/Misc/NEWS.d/next/Core_and_Builtins/2024-11-02-18-01-31.gh-issue-126209.2ZIhrS.rst
@@ -0,0 +1,3 @@
+Fix an issue with ``skip_file_prefixes`` parameter which resulted in an inconsistent
+behaviour between the C and Python implementations of :func:`warnings.warn`.
+Patch by Daehee Kim.