There is no sane way this can be correct.

Don't modify "globals" in a constructor.  If you need the ttype for make_node use 'x.type.ttype()' or create a property on TypedListVariable that does that (see dtype on TensorVariable).