PySide::PyObjectWrapper Class

class PySide::PyObjectWrapper

Thin wrapper for passing PyObject in QVariant. More...

Header: #include <pyobjectwrapper.h>

Static Public Members

Detailed Description

It increases the reference count at the constructor but not at the destructor.

Member Function Documentation

[static] bool PyObjectWrapper::checkAndClearPickleRejected()

Returns true (and clears the per-thread flag) if operator>> blocked a deserialization attempt. Call with the GIL held, after Py_END_ALLOW_THREADS.