Message132743
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. |
|
Date |
User |
Action |
Args |
2011-04-01 15:01:11 | Daniel.Goertzen | set | recipients:
+ Daniel.Goertzen, amaury.forgeotdarc, belopolsky, pitrou, vstinner, grahamd, flox |
2011-04-01 15:01:10 | Daniel.Goertzen | set | messageid: <1301670070.88.0.284031804334.issue6501@psf.upfronthosting.co.za> |
2011-04-01 15:01:10 | Daniel.Goertzen | link | issue6501 messages |
2011-04-01 15:01:09 | Daniel.Goertzen | create | |
|