Message221346
| Author |
makegho |
| Recipients |
Arfrever, BreamoreBoy, ezio.melotti, jpe, makegho, steve.dower, tim.golden, vstinner, zach.ware |
| Date |
2014年06月23日.09:38:19 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1403516299.5.0.805958909217.issue16587@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
It's quite common to use wide character strings to support Unicode in C and C++.
In C++ this often means using std::wstring and std::wcout. Maybe these are more common than wprintf? In any case the console output breaks as Py_Initialize hijacks the host application's standard output streams which sounds quite illegitimate to me.
I understand that Python isn't designed for embedding and it would be a lot of work to fix it, but I would still encourage everyone to take a look at this bug. For me, this was one of the reasons I ultimately had to decide against using Python as my application's scripting language, which is a shame. |
|