MAINT: s/while 1:/while True:/
MAINT: use is instead of == for True, False, None
FIX: travis
MAINT: replace is True: by :
MAINT replace is False by not
Merge pull request #474 from sciunto/bool

Maint: minor patch on booleans + travis