summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Library/2021-11-23-22-22-49.bpo-32731.kNOASr.rst
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.