blob: 92f3b870c11131186e5ddb0445478ebdde6de6bf (
plain)
1
2
3
|
:func:`getpass.getuser` now raises :exc:`OSError` for all failures rather
than :exc:`ImportError` on systems lacking the :mod:`pwd` module or
:exc:`KeyError` if the password database is empty.
|