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 /Doc/data | |
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 'Doc/data')
-rw-r--r-- | Doc/data/refcounts.dat | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/Doc/data/refcounts.dat b/Doc/data/refcounts.dat index 814c3b0..2585a48 100644 --- a/Doc/data/refcounts.dat +++ b/Doc/data/refcounts.dat @@ -29,7 +29,7 @@ # reference to the item argument! # The parameter names are as they appear in the API manual, not the source -# code. +# code. PyBool_FromLong:PyObject*::+1: PyBool_FromLong:long:v:0: @@ -317,6 +317,12 @@ PyErr_SetExcFromWindowsErrWithFilename:PyObject*:type:0: PyErr_SetExcFromWindowsErrWithFilename:int:ierr:: PyErr_SetExcFromWindowsErrWithFilename:const char*:filename:: +PyErr_SetExcFromWindowsErrWithFilenames:PyObject*::null: +PyErr_SetExcFromWindowsErrWithFilenames:PyObject*:type:0: +PyErr_SetExcFromWindowsErrWithFilenames:int:ierr:: +PyErr_SetExcFromWindowsErrWithFilenames:const char*:filename:: +PyErr_SetExcFromWindowsErrWithFilenames:const char*:filename2:: + PyErr_SetFromErrno:PyObject*::null: PyErr_SetFromErrno:PyObject*:type:0: @@ -324,6 +330,11 @@ PyErr_SetFromErrnoWithFilename:PyObject*::null: PyErr_SetFromErrnoWithFilename:PyObject*:type:0: PyErr_SetFromErrnoWithFilename:const char*:filename:: +PyErr_SetFromErrnoWithFilenames:PyObject*::null: +PyErr_SetFromErrnoWithFilenames:PyObject*:type:0: +PyErr_SetFromErrnoWithFilenames:const char*:filename:: +PyErr_SetFromErrnoWithFilenames:const char*:filename2:: + PyErr_SetFromWindowsErr:PyObject*::null: PyErr_SetFromWindowsErr:int:ierr:: @@ -331,6 +342,11 @@ PyErr_SetFromWindowsErrWithFilename:PyObject*::null: PyErr_SetFromWindowsErrWithFilename:int:ierr:: PyErr_SetFromWindowsErrWithFilename:const char*:filename:: +PyErr_SetFromWindowsErrWithFilenames:PyObject*::null: +PyErr_SetFromWindowsErrWithFilenames:int:ierr:: +PyErr_SetFromWindowsErrWithFilenames:const char*:filename:: +PyErr_SetFromWindowsErrWithFilenames:const char*:filename2:: + PyErr_SetInterrupt:void::: PyErr_SetNone:void::: @@ -907,7 +923,7 @@ PyNumber_Xor:PyObject*::+1: PyNumber_Xor:PyObject*:o1:0: PyNumber_Xor:PyObject*:o2:0: -PyObject_AsFileDescriptor:int::: +PyObject_AsFileDescriptor:int::: PyObject_AsFileDescriptor:PyObject*:o:0: PyObject_Call:PyObject*::+1: |