A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-January/076607.html below:

[Python-Dev] Incorrect documentation of the raw_input built-in function

[Python-Dev] Incorrect documentation of the raw_input built-in function [Python-Dev] Incorrect documentation of the raw_input built-in function"Martin v. Löwis" martin at v.loewis.de
Mon Jan 28 22:44:38 CET 2008
> While I couldn't locate such a document, it makes sense when you 
> consider that if such a process is part of a pipeline you really don't 
> want the prompts being handled as input by the downstream processes.
> 
> That's why mv and similar utilities prompt on standard error.

No, that doesn't really make sense. If you are in the middle of a pipe,
what good does it do to write the prompt to stderr, yet read the user
input from stdin?

If you really care about processes that run in a pipe, interact
with /dev/tty.

Regards,
Martin

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4