wcout issue

2012-02-27 Thread Ben Held
Hello, After upgrading from Python 2.6 to 3.2 in our application we noticed that after calling Py_Initialize, our output from std::wcout has extra spaces in it: wcout << L"Just a test\n"; now prints out: J u s t a t e s t Any clue why? Ben Held -- http://mail.py

Memory leak in PyImport_ReloadModule - URGENT

2005-08-10 Thread ben . held
Having recently upgraded to Python 2.4, I am having a large memory leak with the following code built with VC++ 6.0: PyObject *pName, *pModule; Py_Initialize(); pName = PyString_FromString(argv[1]); pModule = PyImport_Import(pName);