PyList_Append( list, member->getPyObject() );
PyList_AppendStolen( list, member->getPyObject() );
static PyObject* wpParty_getAttr( wpParty* self, char* name ){	cParty* party = self->party;	/*		\rproperty party.leader A <object id="char">char</object> object for the leader of this party.	*/	if ( !strcmp( name, "leader" ) )	{		return party->leader()->getPyObject();	}	/*		\rproperty party.members A list of <object id="char">char</object> objects for the members in this party.	*/	else if ( !strcmp( name, "members" ) )	{		QPtrList<cPlayer> members = party->members();		PyObject* list = PyList_New( 0 );		for ( P_PLAYER member = members.first(); member; member = members.next() )			PyList_Append( list, member->getPyObject() );		return list;	}	/*		\rproperty party.canidates A list of <object id="char">char</object> objects for the canidates in this party.	*/	else if ( !strcmp( name, "canidates" ) )	{		QPtrList<cPlayer> canidates = party->canidates();		PyObject* list = PyList_New( 0 );		for ( P_PLAYER canidate = canidates.first(); canidate; canidate = canidates.next() )			PyList_Append( list, canidate->getPyObject() );		return list;	}	/*		\rproperty party.lootingallowed A list of <object id="char">char</object> objects for the members of this party who allowed looting their corpse.	*/	else if ( !strcmp( name, "lootingallowed" ) )	{		QPtrList<cPlayer> lootlist = party->lootingAllowed();		PyObject* list = PyList_New( 0 );		for ( P_PLAYER member = lootlist.first(); member; member = lootlist.next() )			PyList_Append( list, member->getPyObject() );		return list;	}	return Py_FindMethod( wpPartyMethods, ( PyObject * ) self, name );}