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.

作者 vstinner
收信人 barry, dlitz, jmfauth, ocean-city, pitrou, vstinner
日期 2008-09-26.12:21:37
SpamBayes Score 8.758796e-06
Marked as misclassified
Message-id <1222431703.53.0.278814832087.issue2384@psf.upfronthosting.co.za>
In-reply-to
内容
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?
历史
日期 用户 动作 参数
2008-09-26 12:21:43vstinner修改recipients: + vstinner, barry, pitrou, ocean-city, jmfauth, dlitz
2008-09-26 12:21:43vstinner修改messageid: <1222431703.53.0.278814832087.issue2384@psf.upfronthosting.co.za>
2008-09-26 12:21:38vstinner链接issue2384 messages
2008-09-26 12:21:37vstinner创建