In article <[EMAIL PROTECTED]>,
Lawrence D'Oliveiro <[EMAIL PROTECTED]> wrote:
> In message
> <[EMAIL PROTECTED]>, Daniel
> wrote:
>
> > while data:
> > ...
> > data = self.rfile.readline().strip()
>
> Interpreting a random string value as a Boolean is a bad idea
In message
<[EMAIL PROTECTED]>, Daniel
wrote:
> while data:
> ...
> data = self.rfile.readline().strip()
Interpreting a random string value as a Boolean is a bad idea.
--
http://mail.python.org/mailman/listinfo/python-list
On Fri, Oct 3, 2008 at 2:13 AM, Daniel <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I can't seem to get my sockets code to work right. Here is what I
> have inside my RequestHandler handle() function:
>
>total_data=[]
>
>data = True
>logger_server.debug(self.__class__.__name__ +
Hello,
I can't seem to get my sockets code to work right. Here is what I
have inside my RequestHandler handle() function:
total_data=[]
data = True
logger_server.debug(self.__class__.__name__ + ' set data =
True')
while data:
logger_server.debug(self.