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 loewis
Recipients benjamin.peterson, brett.cannon, loewis
Date 2008-08-24.17:57:02
SpamBayes Score 8.382061e-09
Marked as misclassified No
Message-id <1219600624.65.0.619297673716.issue3574@psf.upfronthosting.co.za>
In-reply-to
Content
Since this is marked "release blocker", I'll provide a shallow comment:

I don't think it should be a release blocker. It's a bug in the compile
function, and there are various work-arounds (such as saving the bytes
to a temporary file and executing that one, or decoding the byte string
to a Unicode string, and then compiling the Unicode string). It is
sufficient to fix it in 3.0.1.

I don't think the patch is right: as the test had to be changed, it
means that somewhere, the detection of the encoding declaration now
fails. This is clearly a new bug, but I don't have the time to analyse
the cause further.

In principle, there is nothing wrong with the tokenizer treating latin-1
as "raw" - that only means we don't go through a codec.
History
Date User Action Args
2008-08-24 17:57:04loewissetrecipients: + loewis, brett.cannon, benjamin.peterson
2008-08-24 17:57:04loewissetmessageid: <1219600624.65.0.619297673716.issue3574@psf.upfronthosting.co.za>
2008-08-24 17:57:03loewislinkissue3574 messages
2008-08-24 17:57:02loewiscreate