In this case the constructor

tuple(arr)

should work just fine.

Sorry, I didn't know it could work (shame on me I should have tested).

--
French PhD student
Website : http://miles.developpez.com/
Blogs : http://matt.eifelle.com and http://blog.developpez.com/?blog=92