This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lemburg
Recipients Krauzi, lemburg
Date 2010-08-31.10:26:10
SpamBayes Score 0.0025105092
Marked as misclassified No
Message-id <4C7CD8BE.3030004@egenix.com>
In-reply-to <1283247788.01.0.709012210199.issue9722@psf.upfronthosting.co.za>
Content
Krauzi wrote:
> 
> New submission from Krauzi <krauzi_gmbh@yahoo.de>:
> 
> Hi guys,
> i recently found out that PyObject_Print is not working with Visual Studio 2010:
> 
> 
> #include <Python.h>
> #include <iostream>
> 
> int main( int argc, char** argv )
> {
>     Py_Initialize();
>     PyObject_Print( PyUnicode_FromString("test"), stdout, Py_PRINT_RAW );
>     Py_Finalize();
>     
>     std::cin.get();
>     return EXIT_SUCCESS;
> }

In what way is this not working ?

Have you compiled Python with VS2010 or are you using the stock
from python.org (which is compiled with VS2008) ?
History
Date User Action Args
2010-08-31 10:26:12lemburgsetrecipients: + lemburg, Krauzi
2010-08-31 10:26:10lemburglinkissue9722 messages
2010-08-31 10:26:10lemburgcreate