[issue9722] PyObject_Print with Visual Studio 2010

2012-06-09 Thread R. David Murray
Changes by R. David Murray : -- status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue9722] PyObject_Print with Visual Studio 2010

2010-08-31 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: You really should use the same version of Visual Studio than the one used to compile python. "stdout" points to a FILE object created by your version of the compiler (VS2010); it cannot be passed to PyObject_Print(), which uses definitions from the VS20

[issue9722] PyObject_Print with Visual Studio 2010

2010-08-31 Thread Krauzi
Krauzi added the comment: i used the one from python.org. I cant build python with VC2010 because it cant convert the project from VC2008 to VC2010. -- ___ Python tracker ___ __

[issue9722] PyObject_Print with Visual Studio 2010

2010-08-31 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Krauzi wrote: > > New submission from Krauzi : > > Hi guys, > i recently found out that PyObject_Print is not working with Visual Studio > 2010: > > > #include > #include > > int main( int argc, char** argv ) > { > Py_Initialize(); > PyObject

[issue9722] PyObject_Print with Visual Studio 2010

2010-08-31 Thread Krauzi
New submission from Krauzi : Hi guys, i recently found out that PyObject_Print is not working with Visual Studio 2010: #include #include int main( int argc, char** argv ) { Py_Initialize(); PyObject_Print( PyUnicode_FromString("test"), stdout, Py_PRINT_RAW ); Py_Finalize();