In article <gca100$q21$6 at lust.ihug.co.nz>, Lawrence D'Oliveiro <ldo at geek-central.gen.new_zealand> wrote: > In message > <f84b1539-f5b2-487c-9c2b-75d05c0911cf at 2g2000hsn.googlegroups.com>, Daniel > wrote: > > > while data: > > ... > > data = self.rfile.readline().strip() > > Interpreting a random string value as a Boolean is a bad idea. Why?