config root man

Current Path : /compat/linux/proc/self/root/usr/local/lib/python2.5/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //compat/linux/proc/self/root/usr/local/lib/python2.5/getpass.pyo

łň
h”Rc@sdZddkZddgZddd„Zddd„Zddd„Zd	dd
„Zd„Zy ddk	Z	e	i
e	ifWn{ee
fj
oiyddkZWnIej
o=yddklZWnej
o
eZqüXeZqXeZnXeZdS(
s)Utilities to get a password and/or the current user name.

getpass(prompt) - prompt for a password, with echo turned off
getuser() - get the user name from the environment or password database

On Windows, the msvcrt module will be used.
On the Mac EasyDialogs.AskPassword is used, if available.

i˙˙˙˙Ntgetpasstgetusers
Password: cCsÁ|djo
ti}nytiiƒ}Wnt|ƒSnXti|ƒ}|}|dti@|d<z)ti	|ti
|ƒt||ƒ}Wdti	|ti
|ƒX|idƒ|S(sPrompt for a password, with echo turned off.
    The prompt is written on stream, by default stdout.

    Restore terminal settings at end.
    iNs
(
tNonetsyststdouttstdintfilenotdefault_getpassttermiost	tcgetattrtECHOt	tcsetattrt	TCSADRAINt
_raw_inputtwrite(tprompttstreamtfdtoldtnewtpasswd((s#/usr/local/lib/python2.5/getpass.pytunix_getpasss


cCsßtitij	ot||ƒSnddk}x|D]}|i|ƒq7Wd}xj|iƒ}|djp
|djoPn|djo
t‚n|djo|d }qW||}qW|idƒ|idƒ|S(s9Prompt for password with echo off, using Windows getch().i˙˙˙˙Nts
s
ss(RRt	__stdin__RtmsvcrttputchtgetchtKeyboardInterrupt(RRRtctpw((s#/usr/local/lib/python2.5/getpass.pytwin_getpass.s&





cCstidIJt||ƒS(Ns7Warning: Problem with getpass. Passwords may be echoed.(RtstderrR
(RR((s#/usr/local/lib/python2.5/getpass.pyREs
RcCs|djo
ti}nt|ƒ}|o|i|ƒntiiƒ}|p
t‚n|ddjo|d }n|S(Ni˙˙˙˙s
(RRRtstrRRtreadlinetEOFError(RRtline((s#/usr/local/lib/python2.5/getpass.pyR
Js


cCsaddk}x/dD]'}|ii|ƒ}|o|SqqWddk}|i|iƒƒdS(	sÂGet the username from the environment or password database.

    First try various environment variables, then the password
    database.  This works on Windows as long as USERNAME is set.

    i˙˙˙˙NtLOGNAMEtUSERtLNAMEtUSERNAMEi(R$R%R&R'(tostenvirontgettpwdtgetpwuidtgetuid(R(tnametuserR+((s#/usr/local/lib/python2.5/getpass.pyRZs(tAskPassword(t__doc__Rt__all__RRRRR
RRR	RtImportErrortAttributeErrorRtEasyDialogsR0R(((s#/usr/local/lib/python2.5/getpass.pys<module>	s*	

Man Man