summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2014-02-10 06:05:19 (GMT)
committerLarry Hastings <larry@hastings.org>2014-02-10 06:05:19 (GMT)
commitb082731fbb413a7ff2412a447698fdd65015fd24 (patch)
tree6cb37b4aacee0af28c057079af5545cf92dd1537 /Misc
parentdc62b7e261ab88b4ab967ac2ae307eddbfa0ae09 (diff)
downloadcpython-b082731fbb413a7ff2412a447698fdd65015fd24.zip
cpython-b082731fbb413a7ff2412a447698fdd65015fd24.tar.gz
cpython-b082731fbb413a7ff2412a447698fdd65015fd24.tar.bz2
Issue #20517: Functions in the os module that accept two filenames
now register both filenames in the exception on failure. This required adding new C API functions allowing OSError exceptions to reference two filenames instead of one.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS12
1 files changed, 12 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 8bd0dd3..b5bc34f 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -32,6 +32,9 @@ Core and Builtins
Library
-------
+- Issue #20517: Functions in the os module that accept two filenames
+ now register both filenames in the exception on failure.
+
- Issue #20563: The ipaddress module API is now considered stable.
- Issue #14983: email.generator now always adds a line end after each MIME
@@ -236,6 +239,15 @@ Build
- Issue #20465: Update SQLite shipped with OS X installer to 3.8.3.
+C-API
+-----
+
+- Issue #20517: Added new functions allowing OSError exceptions to reference
+ two filenames instead of one: PyErr_SetFromErrnoWithFilenameObjects(),
+ PyErr_SetFromErrnoWithFilenames(), PyErr_SetFromWindowsErrWithFilenames(),
+ PyErr_SetExcFromWindowsErrWithFilenameObjects(), and
+ PyErr_SetExcFromWindowsErrWithFilenames().
+
Documentation
-------------