[issue33424] 4.4. break and continue Statements, and else Clauses on Loops

2018-05-03 Thread CH
New submission from CH : range function second parameter is excluded. Hence for x in range(2, n): will not execute when n = 2, and "2 is a prime number" will never appear. Moreover, might need a break in the else block too. -- messages: 316158 nosy: joesatriani priori

[issue4111] Add Systemtap/DTrace probes

2010-10-25 Thread Frank Ch. Eigler
Frank Ch. Eigler added the comment: I believe the problem jcea is experiencing is with the solaris (/linux?) branch of the configure.in: if dtrace -G -o /dev/null -s $srcdir/Include/pydtrace.d 2>/dev/null It seems solaris doesn't like the -o /dev/null part. Try specifying s

[issue32599] Add dtrace hook for PyCFunction_Call

2018-01-19 Thread Frank Ch. Eigler
New submission from Frank Ch. Eigler : Similar to https://bugs.python.org/issue31574, it would be useful the the interpreter allowed a tracing tool to hook the PyCFunction_Call() site, maybe via the C_TRACE() macro, kind of how it already does in _PyEval_EvalFrameDefault(). This would help

[issue13405] Add DTrace probes

2012-04-20 Thread Frank Ch. Eigler
Frank Ch. Eigler added the comment: > Stan, anybody working in SystemTap support, could you possibly > create a new issue in the tracker to track specifically stap > support?. You can depend on this bug, and coordinate effort. Clone > my repository and use it as base. I beli

[issue14776] Add SystemTap static markers

2012-05-16 Thread Frank Ch. Eigler
Frank Ch. Eigler added the comment: Hi - On Wed, May 16, 2012 at 06:29:09PM +, Antoine Pitrou wrote: > [...] > No obvious error message. Who the hell designs such UIs? This seems > as stupidly unfriendly as dtrace... Sorry about that. You're running a near-two-year-