summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2002-07-29 14:27:41 (GMT)
committerThomas Heller <theller@ctypes.org>2002-07-29 14:27:41 (GMT)
commit085358a3e208b4825dafa829798cfc125f56a2e4 (patch)
treeace1ac831a2e29283383fd65071c34805dd23e07 /Misc
parentb9e0764d8bc610d90d5aed9d8a97fe7643a2eeec (diff)
downloadcpython-085358a3e208b4825dafa829798cfc125f56a2e4.zip
cpython-085358a3e208b4825dafa829798cfc125f56a2e4.tar.gz
cpython-085358a3e208b4825dafa829798cfc125f56a2e4.tar.bz2
New functions for extension writers on Windows:
PyErr_SetExcFromWindowsErr(), PyErr_SetExcFromWindowsErrWithFilename(). Similar to PyErr_SetFromWindowsErrWithFilename() and PyErr_SetFromWindowsErr(), but they allow to specify the exception type to raise. Available on Windows. See SF patch #576458.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index f7a0bcd..710b748 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -380,6 +380,12 @@ Build
C API
+- New functions PyErr_SetExcFromWindowsErr() and
+ PyErr_SetExcFromWindowsErrWithFilename(). Similar to
+ PyErr_SetFromWindowsErrWithFilename() and
+ PyErr_SetFromWindowsErr(), but they allow to specify
+ the exception type to raise. Available on Windows.
+
- Py_FatalError() is now declared as taking a const char* argument. It
was previously declared without const. This should not affect working
code.