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:21:37
SpamBayes Score 8.758796e-06
Marked as misclassified No
Message-id <1222431703.53.0.278814832087.issue2384@psf.upfronthosting.co.za>
In-reply-to
Content
By setting lineto to 1 (as proposed ocean-city), ASCII tests (test1 
and test2, see below) works correctly. This change doesn't impact 
utf-8/iso-8859-1 charset (it's special case).

--- test1 ---
# coding: ASCII
raise Exception("here")
-------------

--- test2 ---
# useless at line 1
# coding: ASCII
raise Exception("here")
-------------

I don't know how to test a UTF-16 file. Can someone write a testcase?
History
Date User Action Args
2008-09-26 12:21:43vstinnersetrecipients: + vstinner, barry, pitrou, ocean-city, jmfauth, dlitz
2008-09-26 12:21:43vstinnersetmessageid: <1222431703.53.0.278814832087.issue2384@psf.upfronthosting.co.za>
2008-09-26 12:21:38vstinnerlinkissue2384 messages
2008-09-26 12:21:37vstinnercreate