[Pkg-mailman-hackers] Bug#36063: Mailman newlist should can read passwd from stdin noninteractive

Matthias Klose doko at cs.tu-berlin.de
Thu Jan 11 12:02:48 CET 2007


reassign 36063 mailman
thanks

python2.4 offers the getpass module:

\begin{funcdesc}{getpass}{\optional{prompt}}
  Prompt the user for a password without echoing.  The user is
  prompted using the string \var{prompt}, which defaults to
  \code{'Password: '}.
\end{funcdesc}


python2.5:

\begin{funcdesc}{getpass}{\optional{prompt\optional{, stream}}}
  Prompt the user for a password without echoing.  The user is
  prompted using the string \var{prompt}, which defaults to
  \code{'Password: '}. On \UNIX, the prompt is written to the
  file-like object \var{stream}, which defaults to
  \code{sys.stdout} (this argument is ignored on Windows).

  \versionchanged[The \var{stream} parameter was added]{2.5}
\end{funcdesc}




More information about the Pkg-mailman-hackers mailing list