Message134947
| Author |
vstinner |
| Recipients |
Daniel.Goertzen, amaury.forgeotdarc, atuining, belopolsky, flox, grahamd, pitrou, vstinner |
| Date |
2011年05月01日.23:46:17 |
| SpamBayes Score |
2.2257889e-06 |
| Marked as misclassified |
No |
| Message-id |
<1304293578.32.0.794379613663.issue6501@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> Fatal Python error: Py_Initialize: can't initialize sys standard streams
> LookupError: unknown encoding: cp0
That's a bug in os.device_encoding(): os.device_encoding(sys.stdout.fileno()) should return None if the application has no console (if sys.stdout is not a Windows console stream).
Attached device_encoding.patch should fix this issue. (I didn't test the patch yet.) |
|