[Python-checkins] cpython (merge 3.2 -> 3.3): #10296: Merge to 3.3

kristjan.jonsson python-checkins at python.org
Wed Mar 20 00:00:56 CET 2013


http://hg.python.org/cpython/rev/4c7eb717ea88
changeset: 82799:4c7eb717ea88
branch: 3.3
parent: 82780:6dcc9628065c
parent: 82798:bc5778b488c1
user: Kristján Valur Jónsson <sweskman at gmail.com>
date: Tue Mar 19 15:35:28 2013 -0700
summary:
 #10296: Merge to 3.3
files:
 Modules/_ctypes/callproc.c | 5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/Modules/_ctypes/callproc.c b/Modules/_ctypes/callproc.c
--- a/Modules/_ctypes/callproc.c
+++ b/Modules/_ctypes/callproc.c
@@ -397,6 +397,11 @@
 {
 *pdw = ptrs->ExceptionRecord->ExceptionCode;
 *record = *ptrs->ExceptionRecord;
+ /* We don't want to catch breakpoint exceptions, they are used to attach
+ * a debugger to the process.
+ */
+ if (*pdw == EXCEPTION_BREAKPOINT)
+ return EXCEPTION_CONTINUE_SEARCH;
 return EXCEPTION_EXECUTE_HANDLER;
 }
 #endif
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /