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 ncoghlan
Recipients amaury.forgeotdarc, brett.cannon, eric.snow, georg.brandl, ncoghlan, pitrou
Date 2012-07-29.09:26:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1343553969.87.0.20194730854.issue15425@psf.upfronthosting.co.za>
In-reply-to
Content
I realised that it is my test that was wrong in the syntax error case. Attached patch includes the test cases, and the fix for that case.

The weird thing that still requires an explanation is why the chunks in the first two cases are only being partially stripped. Those blocks end with _exec_module, yet a couple of frames are being left in the traceback.

Current patch includes my debugging output from those tests.
History
Date User Action Args
2012-07-29 09:26:10ncoghlansetrecipients: + ncoghlan, brett.cannon, georg.brandl, amaury.forgeotdarc, pitrou, eric.snow
2012-07-29 09:26:09ncoghlansetmessageid: <1343553969.87.0.20194730854.issue15425@psf.upfronthosting.co.za>
2012-07-29 09:26:09ncoghlanlinkissue15425 messages
2012-07-29 09:26:09ncoghlancreate