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 hagen
Recipients eric.araujo, hagen, tarek
Date 2010-11-14.20:32:31
SpamBayes Score 1.1882545e-07
Marked as misclassified No
Message-id <1289766753.91.0.865805184241.issue10419@psf.upfronthosting.co.za>
In-reply-to
Content
As suggested in issue 9561, I'm creating a new bug for the encoding problem in build_scripts: If a script file can't be decoded with the (locale dependent) standard encoding, then "build_scripts" fails with UnicodeDecodeError. Reproducable e.g. with LANG=C and a script file containing non ASCII chars near the beginning (so that they're read on a single readline()).

Attaching a patch that uses "surrogateescape", as proposed for issue 6011.
History
Date User Action Args
2010-11-14 20:32:34hagensetrecipients: + hagen, tarek, eric.araujo
2010-11-14 20:32:33hagensetmessageid: <1289766753.91.0.865805184241.issue10419@psf.upfronthosting.co.za>
2010-11-14 20:32:31hagenlinkissue10419 messages
2010-11-14 20:32:31hagencreate