asyncore loop and cmdloop problem

Giampaolo Rodolà g.rodola at gmail.com
Tue May 25 06:48:40 EDT 2010


2010/5/25 Michele Simionato <michele.simionato at gmail.com>:
> On May 25, 12:03 pm, Giampaolo Rodolà <g.rod... at gmail.com> wrote:
>> Too bad cmdloop() doesn't provide an argument to return immediately.
>> Why don't you submit this patch on the bug tracker?
>>
>> --- Giampaolohttp://code.google.com/p/pyftpdlibhttp://code.google.com/p/psutil
>
> Because it is not a bug, cmd was designed to be blocking. It would be
> a feature request.

Sure, a feature request, but it would be nice to have anyway. =)
The OP question shown how this can be desirable in certain circumstances..

--- Giampaolo
http://code.google.com/p/pyftpdlib
http://code.google.com/p/psutil



More information about the Python-list mailing list