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 r.david.murray
Recipients r.david.murray
Date 2013-06-25.12:40:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
See issue 11390 for a discussion, but briefly: there is a bug in the readline library that causes it, on some systems, to emit a control sequence on stdout when readline is first initialized and TERM is set to xterm.  The bug can be avoided by setting TERM='', and since assert_python is often used to test output, the bogus characters can cause tests to fail on just some systems.  _assert_python should therefore set TERM='' unless the TERM environment variable is passed explicitly by the caller.

While this issue probably has minimal impact on the earlier python versions (where only doctest is likely to trigger this bug, because it calls pdb which calls readline), on 3.4 readline is always initialized, and therefore the bug is more likely to cause unexpected test failures.
Date User Action Args
2013-06-25 12:40:40r.david.murraysetrecipients: + r.david.murray
2013-06-25 12:40:40r.david.murraysetmessageid: <>
2013-06-25 12:40:40r.david.murraylinkissue18300 messages
2013-06-25 12:40:40r.david.murraycreate