+ mylog(" %08x(%d) taglist_concat: Tag %08x", (int)self, self->ob_refcnt, tag);
+ list = tag_getDependencies(tag);
+ int l = PyList_Size(list);
+ int t;
+ mylog(" %08x(%d) taglist_concat: Tag: %d dependencies", (int)self, self->ob_refcnt, l);
+ for(t=0;t<l;t++) {
+ PyObject*item = PyList_GetItem(list, t);
+ PyObject*_self = taglist_concat(self, item);
+ Py_DECREF(self);
+ self = _self;
+ }
+ if(!taglist_contains(self, tag)) {
+ mylog(" %08x(%d) taglist_concat: Adding Tag %08x", (int)self, self->ob_refcnt, tag);
+ PyList_Append(taglist->taglist, tag);
+ }
+ mylog(" %08x(%d) taglist_concat: done", (int)self, self->ob_refcnt);
+ Py_INCREF(self);
+ return self;