[issue9635] Add Py_BREAKPOINT and sys._breakpoint hooks

2018-02-27 Thread Dave Malcolm
Dave Malcolm added the comment: On Fri, 2018-02-23 at 00:16 +, Cheryl Sabella wrote: > Cheryl Sabella added the comment: > > Did PEP553 make this issue obsolete? I *think* they have slightly different scope: if I'm reading it right, PEP553 is about

[issue9635] Add Py_BREAKPOINT and sys._breakpoint hooks

2018-02-22 Thread Cheryl Sabella
Cheryl Sabella added the comment: Did PEP553 make this issue obsolete? -- nosy: +csabella ___ Python tracker ___

[issue9635] Add Py_BREAKPOINT and sys._breakpoint hooks

2012-08-08 Thread STINNER Victor
STINNER Victor added the comment: I thought about it making it METH_O instead (to make it easier to look at a single object), but then you'd be forced to pass an object in when using it, I think (though None should work). I don't like this API. I really prefer METH_O because it is already

[issue9635] Add Py_BREAKPOINT and sys._breakpoint hooks

2012-08-07 Thread Dave Malcolm
Dave Malcolm added the comment: On Tue, 2010-11-02 at 17:25 +, Antoine Pitrou wrote: Antoine Pitrou pit...@free.fr added the comment: I would rename Py_BREAKPOINT to _Py_BREAKPOINT since we don't really want to support this. Also, why do you allow any arguments to sys._breakpoint()?

[issue9635] Add Py_BREAKPOINT and sys._breakpoint hooks

2012-08-01 Thread Dave Malcolm
Dave Malcolm added the comment: Note to self: a messy way of forcing gdb to do the equivalent of a breakpoint directly from Python is: os.kill(os.getpid(), signal.SIGTRAP) -- ___ Python tracker rep...@bugs.python.org

[issue9635] Add Py_BREAKPOINT and sys._breakpoint hooks

2011-03-15 Thread Dave Malcolm
Changes by Dave Malcolm dmalc...@redhat.com: -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9635 ___ ___ Python-bugs-list mailing

[issue9635] Add Py_BREAKPOINT and sys._breakpoint hooks

2010-11-02 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I would rename Py_BREAKPOINT to _Py_BREAKPOINT since we don't really want to support this. Also, why do you allow any arguments to sys._breakpoint()? -- nosy: +pitrou ___ Python tracker

[issue9635] Add Py_BREAKPOINT and sys._breakpoint hooks

2010-11-01 Thread Dave Malcolm
Dave Malcolm dmalc...@redhat.com added the comment: I renamed it from sys.breakpoint to sys._breakpoint, since this is CPython-specific -- title: Add Py_BREAKPOINT and sys.breakpoint hooks - Add Py_BREAKPOINT and sys._breakpoint hooks ___ Python