[issue3379] Option to not-exit on test

J. Pablo Fernández report at bugs.python.org
Wed Jul 16 17:13:22 CEST 2008


New submission from J. Pablo Fernández <pupeno at pupeno.com>:

Added an option, called exit, that when set to false, will make the
tests not exit at the end. This is useful when you are doing Lisp-like
development having a REPL (interpreter/prompt) opened in Emacs and
running the tests over and over on it.
Currently, the tests will exit the interpreter, causing the in-Emacs
interpreter to close as well.
It is by default set to false, so the default behavior is still the
same. When set to true the default behavior shouldn't change much
because at the end of the tests you are going to exit anyway. The only
difference is that no exit code will be provided. There's actually
something else, because the Python test suite hangs in a test case when
this is set to true, but this should be of no concern, as default is false.

----------
components: Library (Lib)
files: add_avoid_exit_option.diff
keywords: patch
messages: 69791
nosy: pupeno
severity: normal
status: open
title: Option to not-exit on test
type: feature request
versions: Python 3.0
Added file: http://bugs.python.org/file10906/add_avoid_exit_option.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3379>
_______________________________________


More information about the Python-bugs-list mailing list