Peter Heiberg <pe...@sveumsondre.no> added the comment:

Hey, progress!  I ran python.exe, typed "import idlelib.idle", pressed enter - 
same blinking underscore as before.  Then i pressed Ctrl+C, and WHOA, 
python.exe prints 25 lines of something, and the Python Shell (pythonw.exe) 
pops up!

There is no functionality in the Python Shell (=IDLE?) tho, and Ctrl+C'ing the 
window promts me to terminate the running program.

Posting the python.exe output:

>>> import idlelib.idle
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python27\lib\idlelib\idle.py", line 11, in <module>
    idlelib.PyShell.main()
  File "C:\Python27\lib\idlelib\PyShell.py", line 1403, in main
    shell = flist.open_shell()
  File "C:\Python27\lib\idlelib\PyShell.py", line 281, in open_shell
    if not self.pyshell.begin():
  File "C:\Python27\lib\idlelib\PyShell.py", line 992, in begin
    client = self.interp.start_subprocess()
  File "C:\Python27\lib\idlelib\PyShell.py", line 417, in start_subprocess
    self.transfer_path()
  File "C:\Python27\lib\idlelib\PyShell.py", line 499, in transfer_path
    \n""" % (sys.path,))
  File "C:\Python27\lib\idlelib\PyShell.py", line 709, in runcommand
    self.rpcclt.remotequeue("exec", "runcode", (code,), {})
  File "C:\Python27\lib\idlelib\rpc.py", line 216, in remotequeue
    return self.asyncreturn(seq)
  File "C:\Python27\lib\idlelib\rpc.py", line 240, in asyncreturn
    response = self.getresponse(seq, wait=0.05)
  File "C:\Python27\lib\idlelib\rpc.py", line 280, in getresponse
    response = self._getresponse(myseq, wait)
  File "C:\Python27\lib\idlelib\rpc.py", line 300, in _getresponse
    response = self.pollresponse(myseq, wait)
  File "C:\Python27\lib\idlelib\rpc.py", line 424, in pollresponse
    message = self.pollmessage(wait)
  File "C:\Python27\lib\idlelib\rpc.py", line 376, in pollmessage
    packet = self.pollpacket(wait)
  File "C:\Python27\lib\idlelib\rpc.py", line 347, in pollpacket
    r, w, x = select.select([self.sock.fileno()], [], [], wait)
KeyboardInterrupt

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10834>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to