← 输入框|bugs.python.org|刷新

➜

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.

作者 Daniel.Goertzen
收信人 Daniel.Goertzen, amaury.forgeotdarc, belopolsky, flox, grahamd, pitrou, vstinner
日期 2011-04-01.15:01:09
SpamBayes Score 3.867462e-13
Marked as misclassified 否
Message-id <1301670070.88.0.284031804334.issue6501@psf.upfronthosting.co.za>
In-reply-to
内容
I run into this problem when I start a Python app as a subprocess from Erlang (open_port() function).  The PYTHONIOENCODING fix works when I launch my py app via pythonw.exe, but it does *not* work when I use the cx-freeze version of the app.

I am using the Win32GUI base for cx-freeze which appears to be a thin WinMain() wrapper around Py_Initialize().  I am going to continue investigating the cx-freeze related problems.

I am using Python 3.2 under Windows.  The failure is basically silent under Windows (generic MSVC runtime error), so I wasted a lot time figuring out what the problem actually was.  Python 2 doesn't seem to have this problem.
历史
日期 用户 动作 参数
2011-04-01 15:01:11Daniel.Goertzen修改recipients: + Daniel.Goertzen, amaury.forgeotdarc, belopolsky, pitrou, vstinner, grahamd, flox
2011-04-01 15:01:10Daniel.Goertzen修改messageid: <1301670070.88.0.284031804334.issue6501@psf.upfronthosting.co.za>
2011-04-01 15:01:10Daniel.Goertzen链接issue6501 messages
2011-04-01 15:01:09Daniel.Goertzen创建