summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.13.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/whatsnew/3.13.rst')
-rw-r--r--Doc/whatsnew/3.13.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst
index 3fd0f5e..ec09dfe 100644
--- a/Doc/whatsnew/3.13.rst
+++ b/Doc/whatsnew/3.13.rst
@@ -1032,6 +1032,10 @@ Changes in the Python API
recomended in the documentation.
(Contributed by Serhiy Storchaka in :gh:`106672`.)
+* An :exc:`OSError` is now raised by :func:`getpass.getuser` for any failure to
+ retrieve a username, instead of :exc:`ImportError` on non-Unix platforms or
+ :exc:`KeyError` on Unix platforms where the password database is empty.
+
Build Changes
=============