fix set creation for python 2.6