A few minor optimizations to take advantage of itertools.
A few minor optimizations to take advantage of itertools.

Ban3/Limnoria,mazaclub/mazabot-core,kblin/supybot-gsoc,haxwithaxe/supybot,ProgVal/Limnoria-test,ProgVal/Limnoria-test,frumiousbandersnatch/supybot-code,raboof/supybot,jeffmahoney/supybot,prashantpawar/supybot-rothbot,buildbot/supybot,Ban3/Limnoria,mazaclub/mazabot-core