tree_flatten
supports named tuples
#1446
+25
−12
Merged