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 Daniel.Goertzen
Recipients Daniel.Goertzen, amaury.forgeotdarc, atuining, belopolsky, flox, grahamd, pitrou, vstinner
Date 2011-04-03.03:32:37
SpamBayes Score 1.7280253e-07
Marked as misclassified No
Message-id <1301801558.69.0.0992943614849.issue6501@psf.upfronthosting.co.za>
In-reply-to
Content
It turns out that cx-freeze deliberately sets Py_IgnoreEnvironmentFlag to ensure that the final executable is really an isolated, standalone executable (ie, it can't be subverted by setting PYTHONPATH.)  Therefore the PYTHONIOENCODING work-around does not work in this situation.

I am currently using a cx-freeze work-around from the author to enable the PYTHONIOENCODING work-around.  Altogether not that pleasant.

Could Python 3 could just default to some reasonable encoding and keep on chugging?
History
Date User Action Args
2011-04-03 03:32:38Daniel.Goertzensetrecipients: + Daniel.Goertzen, amaury.forgeotdarc, atuining, belopolsky, pitrou, vstinner, grahamd, flox
2011-04-03 03:32:38Daniel.Goertzensetmessageid: <1301801558.69.0.0992943614849.issue6501@psf.upfronthosting.co.za>
2011-04-03 03:32:38Daniel.Goertzenlinkissue6501 messages
2011-04-03 03:32:37Daniel.Goertzencreate