This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients barry, ezio.melotti, python-dev, r.david.murray, techtonik, vstinner
Date 2013-06-25.10:50:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1372157432.36.0.322605189386.issue11390@psf.upfronthosting.co.za>
In-reply-to
Content
> Perhaps the dummy trick needs to be done by doctest itself?

The issue really comes from the readline module. The workaround is to set an environment variable, which affects the whole process (all threads).

Only setting TERM for test_CLI() is fine, because it's the only test running doctest in a subprocess.

Hum, we may set TERM=dummy in script_helper directly, because this module tries to run Python in a fresh environment. It uses "python -E" for example.
History
Date User Action Args
2013-06-25 10:50:32vstinnersetrecipients: + vstinner, barry, techtonik, ezio.melotti, r.david.murray, python-dev
2013-06-25 10:50:32vstinnersetmessageid: <1372157432.36.0.322605189386.issue11390@psf.upfronthosting.co.za>
2013-06-25 10:50:32vstinnerlinkissue11390 messages
2013-06-25 10:50:32vstinnercreate