[issue4985] Idle hangs when given a nonexistent filename.

Romeo Victor Dellarocco report at bugs.python.org
Sun Jan 18 06:27:54 CET 2009


New submission from Romeo Victor Dellarocco <della1rv at 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 <report at bugs.python.org>
<http://bugs.python.org/issue4985>
_______________________________________


More information about the Python-bugs-list mailing list