A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2012-January/115754.html below:

[Python-Dev] negative ref count on windows debug version

[Python-Dev] negative ref count on windows debug version [Python-Dev] negative ref count on windows debug versionDr.-Ing. Ingo D. Rullhusen d01c at uni-bremen.de
Fri Jan 20 21:20:12 CET 2012
Hello,

using

loc = PyDict_New();
Py_XDECREF(loc);

or

PyObject *src = Py_CompileString( code.toStdString().c_str(),
"<console>", Py_single_input );
Py_XDECREF(src);

results in a "object at blahblah has negative ref count -1" error on
windows visual studio in debug mode. And yes, python is compiled and
linked in debug mode also. The release version seems to work.

This happens in version 2.6.7 and 2.7.2.

Any hints?

Thanks
   Ingo
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4