[issue10296] ctypes catches BreakPoint error on windows 32

2013-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset b2e8392a8f77 by Kristján Valur Jónsson in branch '2.7': Issue #10296 : Don't handle BreakPoint exceptions using http://hg.python.org/cpython/rev/b2e8392a8f77 New changeset bc5778b488c1 by Kristján Valur Jónsson in branch '3.2': Issue #10296 : Don't

[issue10296] ctypes catches BreakPoint error on windows 32

2013-03-19 Thread Kristján Valur Jónsson
Changes by Kristján Valur Jónsson krist...@ccpgames.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10296 ___

[issue10296] ctypes catches BreakPoint error on windows 32

2013-03-18 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Here is a suggested patch. SEH will now not catch BREAKPOINT exceptions. -- keywords: +patch Added file: http://bugs.python.org/file29459/ctypes.diff ___ Python tracker rep...@bugs.python.org

[issue10296] ctypes catches BreakPoint error on windows 32

2012-07-26 Thread Atsuo Ishimoto
Changes by Atsuo Ishimoto ishim...@gembook.org: -- nosy: +ishimoto ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10296 ___ ___ Python-bugs-list

[issue10296] ctypes catches BreakPoint error on windows 32

2012-07-26 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10296 ___ ___ Python-bugs-list

[issue10296] ctypes catches BreakPoint error on windows 32

2012-03-12 Thread Patrick
Patrick pjlby...@gmail.com added the comment: This affects me too. -- nosy: +pjlbyrne ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10296 ___ ___

[issue10296] ctypes catches BreakPoint error on windows 32

2011-12-22 Thread Sacha Brants-Menard
Changes by Sacha Brants-Menard sa...@brants.fr: -- nosy: +Sacha.Brants-Menard ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10296 ___ ___

[issue10296] ctypes catches BreakPoint error on windows 32

2010-12-26 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: With a release build of python, I have a similar behavior on both 2.5 and 2.7; the messages are different though: 2.5: WindowsError: [Error -2147483645] One or more arguments are invalid. 2.7: WindowsError: exception: breakpoint

[issue10296] ctypes catches BreakPoint error on windows 32

2010-12-26 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: I _think_ that in our old 2.5 python (which had a backported ctypes from 2.6 to support 64 bits) we always got the JIT debugger i.e. with _ctypes.pyd and _ctypes_d.pyd. This api, DebugBreak always invokes the JIT debugger,

Re: [issue10296] ctypes catches BreakPoint error on windows 32

2010-12-23 Thread Thomas Heller
ctypes has _always_ catched exceptions raised in function calls. On Windows ;-). ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

[issue10296] ctypes catches BreakPoint error on windows 32

2010-12-22 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: +theller ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10296 ___ ___ Python-bugs-list mailing

[issue10296] ctypes catches BreakPoint error on windows 32

2010-11-03 Thread Kristján Valur Jónsson
New submission from Kristján Valur Jónsson krist...@ccpgames.com: import ctypes ctypes.windll.kernel32.DebugBreak() This used to be a handy way to attach a debugger to a running program, by way of JIT debugging. Now ctypes catches and handles this exception so a debugger is never invoked.