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 Avery Uslaner
Recipients Avery Uslaner, Missono Dell
Date 2020-02-07.03:12:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1581045164.26.0.394229363561.issue37815@roundup.psfhosted.org>
In-reply-to
Content
I'm running into the same error while attempting to compile Python 3.8.1 on Ubuntu 18.04.

The actual test failure is this:

======================================================================
FAIL: test_errors_in_command (test.test_pdb.PdbTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/opt/Python-3.8.1/Lib/test/test_pdb.py", line 1580, in test_errors_in_command
    self.assertEqual(stdout.splitlines()[1:], [
AssertionError: Lists differ: ['(Pd[283 chars]efined", 'LEAVING RECURSIVE DEBUGGER', '(Pdb) ', '\x1b[?1034h'] != ['(Pd[283 chars]efined", 'LEAVING RECURSIVE DEBUGGER', '(Pdb) ']

First list contains 1 additional elements.
First extra element 9:
'\x1b[?1034h'

  ['(Pdb) *** SyntaxError: unexpected EOF while parsing',
   '(Pdb) ENTERING RECURSIVE DEBUGGER',
   '*** SyntaxError: unexpected EOF while parsing',
   'LEAVING RECURSIVE DEBUGGER',
   '(Pdb) ENTERING RECURSIVE DEBUGGER',
   '> <string>(1)<module>()',
   "((Pdb)) *** NameError: name 'doesnotexist' is not defined",
   'LEAVING RECURSIVE DEBUGGER',
-  '(Pdb) ',
?          ^

+  '(Pdb) ']
?          ^

-  '\x1b[?1034h']

----------------------------------------------------------------------

This failure only appeared after I installed additional packages and attempted to reconfigure and reinstall. The install command I used was this:

sudo apt-get install libbz2-dev libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev
History
Date User Action Args
2020-02-07 03:12:44Avery Uslanersetrecipients: + Avery Uslaner, Missono Dell
2020-02-07 03:12:44Avery Uslanersetmessageid: <1581045164.26.0.394229363561.issue37815@roundup.psfhosted.org>
2020-02-07 03:12:44Avery Uslanerlinkissue37815 messages
2020-02-07 03:12:43Avery Uslanercreate