alimanfoo/petl — pull request #222 by pjakobsen (2013-11-18 03:23:09+00:00)
Title: Ensure compatibility with Python 2.6 by adding missing  itertools 2.7 

methods. With this fix can now import petl under python 2.6.8 on Linux

I found it necessary to add this fix to be able to import petl in my Python 2.6.8 virtualenv on my Linux virtualhost at A2 Hosting (which is typical of the large hosting companies in the US that offer basic Python support)

I can't say I've fully tested this on more than Linux and OS X, but I feel it's pretty low risk due to the strategy of using

except ImportError: