[New-bugs-announce] [issue9722] PyObject_Print with Visual Studio 2010

Krauzi report at bugs.python.org
Tue Aug 31 11:43:08 CEST 2010


New submission from Krauzi <krauzi_gmbh at 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;
}

----------
components: Interpreter Core, Windows
messages: 115256
nosy: Krauzi
priority: normal
severity: normal
status: open
title: PyObject_Print with Visual Studio 2010
type: crash
versions: Python 2.6, Python 2.7, Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9722>
_______________________________________


More information about the New-bugs-announce mailing list