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 dmalcolm, loewis, vstinner
Date 2010-04-21.14:00:41
SpamBayes Score 1.3460851e-06
Marked as misclassified No
Message-id <1271858442.77.0.407323027474.issue8479@psf.upfronthosting.co.za>
In-reply-to
Content
The problem is that test_gdb is not compatible with Python3.

test_gdb uses "print x" syntax instead of "print(x)", and "except XXX, xxx:" instead of "except XXX as xxx:". Note: "print range(1000)" => "print(list(range(1000)))".

DebuggerOutput.run_gdb() should also convert the output to unicode, maybe using out = out.decode("ascii"); err = err.decode("ascii");.
History
Date User Action Args
2010-04-21 14:00:43vstinnersetrecipients: + vstinner, loewis, dmalcolm
2010-04-21 14:00:42vstinnersetmessageid: <1271858442.77.0.407323027474.issue8479@psf.upfronthosting.co.za>
2010-04-21 14:00:41vstinnerlinkissue8479 messages
2010-04-21 14:00:41vstinnercreate