BUG : change set -> tuple for 2.6 compatibility