That wasn't the problem. An incoherent bug report from a user
was the problem.
John Nagle
Carl Banks wrote:
On Apr 30, 11:48 am, John Nagle wrote:
def draininput(self) : # consume any queued input
try:
while True :
ch = self.inqu
On Apr 30, 11:48 am, John Nagle wrote:
> def draininput(self) : # consume any queued input
> try:
> while True :
> ch = self.inqueue.get_nowait() # get input, if any
> except Queue.Empty: # if empty
> return
def draininput(self) : # consume any queued input
try:
while True :
ch = self.inqueue.get_nowait() # get input, if any
except Queue.Empty: # if empty
return # done
"self.inqueue" is a Queue object.