"getpass" --- 이식성 있는 암호 입력
***********************************

**소스 코드:** Lib/getpass.py

======================================================================

가용성: not WASI.

이 모듈은 웹어셈블리에서 작동하지 않거나 제공되지 않습니다. 자세한 내
용은 웹어셈블리 플랫폼을 참조하세요.

"getpass" 모듈은 두 함수를 제공합니다:

getpass.getpass(prompt='Password: ', stream=None, *, echo_char=None)

   에코 없이 사용자에게 암호를 묻습니다. 사용자는 *prompt* 문자열을 사
   용하여 프롬프트 됩니다. 기본값은 "'Password: '"입니다. 유닉스에서
   프롬프트는 필요하다면 replace 에러 처리기를 사용하여 파일류 객체
   *stream*에 기록됩니다. *stream*는 제어 터미널("/dev/tty")이나 사용
   할 수 없으면 "sys.stderr"를 기본값으로 사용합니다 (이 인자는 윈도우
   에서 무시됩니다).

   The *echo_char* argument controls how user input is displayed while
   typing. If *echo_char* is "None" (default), input remains hidden.
   Otherwise, *echo_char* must be a single printable ASCII character
   and each typed character is replaced by it. For example,
   "echo_char='*'" will display asterisks instead of the actual input.

   에코가 없는 입력을 사용할 수 없으면, getpass()는 *stream*에 경고 메
   시지를 인쇄하고, "sys.stdin"에서 읽고, "GetPassWarning"을 방출하는
   것으로 돌아갑니다.

   참고:

     IDLE 내에서 getpass를 호출하면, 대기 중인 창 자체가 아닌 IDLE을
     시작한 터미널에서 입력이 수행될 수 있습니다.

   참고:

     On Unix systems, when *echo_char* is set, the terminal will be
     configured to operate in *noncanonical mode*. In particular, this
     means that line editing shortcuts such as "Ctrl"+"U" will not
     work and may insert unexpected characters into the input.

   버전 3.14에서 변경: Added the *echo_char* parameter for keyboard
   feedback.

exception getpass.GetPassWarning

   패스워드 입력이 에코 될 때 방출되는 "UserWarning" 서브 클래스.

getpass.getuser()

   사용자의 "로그인 이름"을 반환합니다.

   이 함수는 환경 변수 "LOGNAME", "USER", "LNAME" 및 "USERNAME"를 순서
   대로 검사하고, 비어 있지 않은 문자열로 설정된 첫 번째 값을 반환합니
   다. 아무것도 설정되지 않았으면, "pwd" 모듈을 지원하는 시스템에서는
   암호 데이터베이스의 로그인 이름이 반환되고, 그렇지 않으면 "OSError"
   가 발생합니다.

   일반적으로, 이 함수는 "os.getlogin()"보다 선호됩니다.

   버전 3.13에서 변경: Previously, various exceptions beyond just
   "OSError" were raised.
