diff options
author | Larry Hastings <larry@hastings.org> | 2014-02-10 06:05:19 (GMT) |
---|---|---|
committer | Larry Hastings <larry@hastings.org> | 2014-02-10 06:05:19 (GMT) |
commit | b082731fbb413a7ff2412a447698fdd65015fd24 (patch) | |
tree | 6cb37b4aacee0af28c057079af5545cf92dd1537 /Misc | |
parent | dc62b7e261ab88b4ab967ac2ae307eddbfa0ae09 (diff) | |
download | cpython-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/NEWS | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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 ------------- |