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, dlitz, jmfauth, ocean-city, pitrou, vstinner
Date 2008-09-26.12:51:40
SpamBayes Score 5.4391376e-07
Marked as misclassified No
Message-id <1222433502.74.0.46409081711.issue2384@psf.upfronthosting.co.za>
In-reply-to
Content
ocean-city testcase is invalid: it uses subprocess.call() which 
returns the exit code, not the Python error line number! Here is a 
better testcase using subprocess.Popen() checking the line number but 
also the display line. It tests ASCII, UTF-8 and GBK charsets. Using 
GBK charset, you get the bug described by ocean-city (problem with 
multibyte charset). My testcase takes also care of script with # 
coding at the second line.
History
Date User Action Args
2008-09-26 12:51:42vstinnersetrecipients: + vstinner, barry, pitrou, ocean-city, jmfauth, dlitz
2008-09-26 12:51:42vstinnersetmessageid: <1222433502.74.0.46409081711.issue2384@psf.upfronthosting.co.za>
2008-09-26 12:51:41vstinnerlinkissue2384 messages
2008-09-26 12:51:41vstinnercreate