summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorRonan Pigott <ronan@rjp.ie>2023-09-19 23:18:23 (GMT)
committerGitHub <noreply@github.com>2023-09-19 23:18:23 (GMT)
commitddf2e953c27d529b7e321c972ede2afce5dfb0b0 (patch)
tree4b26a45749135b495b76e754578c7c6b7b1a9297 /Misc
parentfd7e08a6f35581e1189b9bf12feb51f7167a86c5 (diff)
downloadcpython-ddf2e953c27d529b7e321c972ede2afce5dfb0b0.zip
cpython-ddf2e953c27d529b7e321c972ede2afce5dfb0b0.tar.gz
cpython-ddf2e953c27d529b7e321c972ede2afce5dfb0b0.tar.bz2
gh-109033: Return filename with os.utime errors (#109034)
The filename was previously intentionally omitted from exception because "it might confuse the user". Uncaught exceptions are not generally a replacement for user-facing error messages, so obscuring this information only has the effect of making the programmer's life more difficult.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2023-09-06-14-47-28.gh-issue-109033.piUzDx.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2023-09-06-14-47-28.gh-issue-109033.piUzDx.rst b/Misc/NEWS.d/next/Library/2023-09-06-14-47-28.gh-issue-109033.piUzDx.rst
new file mode 100644
index 0000000..15ec0b4
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2023-09-06-14-47-28.gh-issue-109033.piUzDx.rst
@@ -0,0 +1,2 @@
+Exceptions raised by os.utime builtin function now include the related
+filename