On Feb 23, 2012, at 11:11 AM, fwierzbicki@... wrote:
> As part of getting a release of 2.5.3 together, I've been trying to
> get regrtest.py to run outside of ant. I get a couple of really
> annoying problems:
> test_builtins.py seems to hang on a rawinput() call -- I have to hit
> return manually to get it to move on
> test_doctest.py drops out to a pdb session - I have to call quit()
> A couple of tests sometimes hit sockets that are in use.
> Does anyone know what I should be doing here? I vaguely remember
> something about setting sys.executable - but I don't seem to have the
> right incantation handy.
IIRC this is due to JLineConsole doing funny things w/ stdin? So I think it succeeds via ant because in that case the controlling terminal isn't a tty (so Jython disables JLineConsole).
Try forcing the old console class with the command line property