backward compatibility for python 2.6
Merge pull request #3 from harryliang/master

Removed set literals for 2.6 support