summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorachhina <amanschhina@gmail.com>2023-12-11 20:45:08 (GMT)
committerGitHub <noreply@github.com>2023-12-11 20:45:08 (GMT)
commita01022af23b27a9bfb4fadbcdb60b1ddf24a7220 (patch)
tree94379f595ca9d2b19effd282e2f8fc10ead2ae72 /Misc
parent0066ab5bc58a036b3f448cd6f9bbdd92120e39ba (diff)
downloadcpython-a01022af23b27a9bfb4fadbcdb60b1ddf24a7220.zip
cpython-a01022af23b27a9bfb4fadbcdb60b1ddf24a7220.tar.gz
cpython-a01022af23b27a9bfb4fadbcdb60b1ddf24a7220.tar.bz2
GH-83162: Rename re.error for better clarity. (#101677)
Renamed re.error for clarity, and kept re.error for backward compatibility. Updated idlelib files at TJR's request. --------- Co-authored-by: Matthias Bussonnier <mbussonnier@ucmerced.edu> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2023-02-08-00-43-29.gh-issue-83162.ufdI9F.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2023-02-08-00-43-29.gh-issue-83162.ufdI9F.rst b/Misc/NEWS.d/next/Library/2023-02-08-00-43-29.gh-issue-83162.ufdI9F.rst
new file mode 100644
index 0000000..6074dd7
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2023-02-08-00-43-29.gh-issue-83162.ufdI9F.rst
@@ -0,0 +1,3 @@
+Renamed :exc:`!re.error` to :exc:`PatternError` for clarity, and kept
+:exc:`!re.error` for backward compatibility. Patch by Matthias Bussonnier and
+Adam Chhina.