[docs] idle.py displays source rather than running

Sandro Tosi sandro.tosi at gmail.com
Thu Aug 11 02:48:09 CEST 2011


Hello Křištof,
thanks for your email.

On Tue, Aug 2, 2011 at 10:34, Křištof Želechovski <giecrilj at stegny.2a.pl> wrote:
> == Steps to reproduce ==
> { python /usr/lib64/python2.7/idlelib/idle.py /usr/bin/idle; }

what do you exactly want to accomplish with this command?

> == Expected results ==
> According to the text of 24.6.4.1.3, IDLE should run /usr/bin/idle

exactly: you can run directly /usr/bin/idle or python
/usr/lib64/python2.7/idlelib/idle.py (on my debian system I can start
idle with: python /usr/lib/python2.6/idlelib/idle.py)

> == Actual results ==
> IDLE displays /usr/bin/idle
>
> == Workaround ==
> { python /usr/lib64/python2.7/idlelib/idle.py -r /usr/bin/idle; }

you're asking idle to start another idle :)

Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi


More information about the docs mailing list