[Bug 357839] [NEW] IronPython shell does not exit normally

Matthew Flaschen matthew.flaschen at gatech.edu
Wed Apr 8 16:56:04 UTC 2009


Public bug reported:

Binary package hint: ironpython

The IronPython shell (ipy) included in Hardy (IronPython 1.1.1) does not
exit normally.  None of the following methods, all of which work in
CPython, cause it to exit:

1. quit()
2. exit()
3. Ctrl-D (EOF on GNU/Linux)

And

when you enter:

4. exit
CPython outputs:

Use exit() or Ctrl-D (i.e. EOF) to exit.

Same for quit, except it suggests quit().

Here's how IronPython responds to the same input:

1. quit() or exit(): TypeError: str object is not callable 
This doesn't really make any sense, since a normal unrecognized function (e.g. foo()) is diagnosed: NameError: name 'foo' not defined
2. quit or exit: Use Ctrl-Z plus Return to exit
This obviously works on Windows (Ctrl-Z is EOF there), but not GNU/Linux.
3. Ctrl-D/EOF - Ignored

The only way I've successfully exited so far is kill -9

** Affects: ironpython (Ubuntu)
     Importance: Undecided
         Status: New

-- 
IronPython shell does not exit normally
https://bugs.launchpad.net/bugs/357839
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list