[Python-bugs-list] [ python-Bugs-775061 ] 2 problems with IDLE

SourceForge.net noreply@sourceforge.net
Mon, 21 Jul 2003 19:19:51 -0700


Bugs item #775061, was opened at 2003-07-21 11:08
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=775061&group_id=5470

Category: IDLE
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Neal Norwitz (nnorwitz)
Assigned to: Kurt B. Kaiser (kbk)
Summary: 2 problems with IDLE

Initial Comment:
Lib/idlelib/idle.py should use #!/usr/bin/env python
not /usr/bin/python so the user can modify their path
to execute the correct version of python.

In Lib/idlelib/rpc.py around line 623, svr.register
(svr is an RPCServer instance)  is called, but there is
no register method AFAICT.

----------------------------------------------------------------------

>Comment By: Neal Norwitz (nnorwitz)
Date: 2003-07-21 22:19

Message:
Logged In: YES 
user_id=33168

Hmmm, I do remember something about distutils rewriting the
line, but I'm not sure.  My problem was that I was running
an uninstalled version in the CVS tree:
  ./Lib/idlelib/idle

Perhaps this isn't a bug.  RPCServer still appears to be a
problem either way.

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2003-07-21 18:43

Message:
Logged In: YES 
user_id=21627

I fail to see the first problem. Shouldn't distutils replace
the path in #! with sys.exec_prefix? /usr/bin/env should
*not* be used, as this might be a different python than the
one IDLE was installed for.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=775061&group_id=5470