Message 134947 - Python tracker
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.) |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2011-05-01 23:46:18 | vstinner | set | recipients: + vstinner, amaury.forgeotdarc, atuining, belopolsky, pitrou, grahamd, flox, Daniel.Goertzen |
| 2011-05-01 23:46:18 | vstinner | set | messageid: <1304293578.32.0.794379613663.issue6501@psf.upfronthosting.co.za> |
| 2011-05-01 23:46:17 | vstinner | link | issue6501 messages |
| 2011-05-01 23:46:17 | vstinner | create | |