Example below led to a crash: import Path v = Path.Tool(name='v', diameter=5.6) tt = Path.Tooltable() tt.addTools(v) attrs = tt.templateAttrs() uu = Path.Tooltable(tt.templateAttrs()) del attrs