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
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
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
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
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-