Dave Malcolm <dmalc...@redhat.com> added the comment:

> Note that when running on Linux when _not_ under a debugger, the 
> default for SIGTRAP is to get a coredump:
>   Trace/breakpoint trap (core dumped)
> so people should be strongly discouraged from adding these calls to
> their code.
Looks like Windows' DebugBreak has similar behavior here; according to:
  http://msdn.microsoft.com/en-us/library/ms679297(VS.85).aspx
"If the process is not being debugged, the function uses the search logic of a 
standard exception handler. In most cases, this causes the calling process to 
terminate because of an unhandled breakpoint exception."

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9635>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to