New submission from Romeo Victor Dellarocco <della...@gmail.com>:

Idle hangs when given the name of a nonexistent file. The idle window
briefly appears, then disappears, the process hangs and has to be
terminated.

Platform:
  Linux 2.6.22-16-rt #1 SMP PREEMPT RT Mon Nov 24 21:03:25 GMT 2008 i686
GNU/Linux
  Ubuntu 7.10
  Python3.0 Final built from source.
  tk8.4
  I upgraded to tk8.5, idle still does the same thing.

To recreate type:
  rm foo.py
  idle foo.py
  # The idle window briefly appears, then disappears, the process hangs
  # and has to be terminated.

In previous versions of idle any nonexistent files would be created by
idle. This is what one would expect.

I have a patch for idlelib/PyShell.py that will make idle create any
nonexisting files.

----------
components: IDLE
files: idle_create_file_if_not_exist.python3_0.patch
keywords: patch
messages: 80079
nosy: della1rv
severity: normal
status: open
title: Idle hangs when given a nonexistent filename.
versions: Python 3.0
Added file: 
http://bugs.python.org/file12783/idle_create_file_if_not_exist.python3_0.patch

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

Reply via email to