cPythonTarget::cPythonTarget( PyObject *callback, PyObject *arguments ) { callback_ = callback;   arguments_ = PyTuple_New( PyTuple_Size( arguments ) );  for( UI08 i = 0; i < PyTuple_Size( arguments ); i++ )
cPythonTarget( QString _responsefunc, QString _timeoutfunc, QString _cancelfunc, PyObject* _args ) : responsefunc( _responsefunc ), timeoutfunc( _timeoutfunc ), cancelfunc( _cancelfunc ), args( _args )
cPythonTarget::cPythonTarget( PyObject *callback, PyObject *arguments ){	callback_ = callback;		// INCREF for the arguments so they dont get garbage collected	arguments_ = PyTuple_New( PyTuple_Size( arguments ) );	for( UI08 i = 0; i < PyTuple_Size( arguments ); i++ )	{		PyObject *mObject = PyTuple_GetItem( arguments, i );		Py_INCREF( mObject );		PyTuple_SetItem( arguments_, i, mObject );	}	Py_INCREF( arguments_ );}