cmd module "busy waiter" ?

placid Bulkan at gmail.com
Tue Apr 25 19:30:06 EDT 2006


Dennis Lee Bieber wrote:
> On 23 Apr 2006 23:49:51 -0700, "placid" <Bulkan at gmail.com> declaimed the
> following in comp.lang.python:
>
> > Just wondering if the cmd module in python uses "busy waiting" for
> > "polling" user command input as this is inefficient.
> >
> 	Use the Source...
>
> 	At least on 2.3.x...
>
> 	Last paragraph of the docstring:
>
>
> These interpreters use raw_input; thus, if the readline module is
> loaded,
> they automatically support Emacs-like command history and editing
> features.



i dont know Emacs, and im using Windows XP (cant find readline module,
only for *nix ), does that mean it still busy waits...


> --
>  > ============================================================== <
>  >   wlfraed at ix.netcom.com  | Wulfraed  Dennis Lee Bieber  KD6MOG <
>  >      wulfraed at dm.net     |       Bestiaria Support Staff       <
>  > ============================================================== <
>  >           Home Page: <http://www.dm.net/~wulfraed/>            <
>  >        Overflow Page: <http://wlfraed.home.netcom.com/>        <




More information about the Python-list mailing list