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 pitrou
Recipients complex, pitrou
Date 2008-08-09.16:45:32
SpamBayes Score 1.4097684e-05
Marked as misclassified No
Message-id <1218300393.38.0.67653605853.issue3160@psf.upfronthosting.co.za>
In-reply-to
Content
Hi Viktor,

It's complicated for me to test under Windows right now, but your
snippet looks buggy:

            script_data = open(self.pre_install_script, "r").read()
            cfgdata = cfgdata + script_data + b"\n\0"

script_data is an unicode string because the file is opened in text
mode, but you try to concatenate it with bytes objects which will fail.
Please try to fix this and provide a proper patch :-)

PS : I agree it is important to fix this.
History
Date User Action Args
2008-08-09 16:46:33pitrousetrecipients: + pitrou, complex
2008-08-09 16:46:33pitrousetmessageid: <1218300393.38.0.67653605853.issue3160@psf.upfronthosting.co.za>
2008-08-09 16:45:33pitroulinkissue3160 messages
2008-08-09 16:45:32pitroucreate