summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2019-03-12 22:15:26 (GMT)
committerGitHub <noreply@github.com>2019-03-12 22:15:26 (GMT)
commit8ef864d50fb847cf15d5717c0db04fd60fb13d8d (patch)
tree8b17e48edc24ef4e6cc6421b160bbf75777f8e3b /Doc/whatsnew
parentf45813df52207ae870fda86475976a9b42857592 (diff)
downloadcpython-8ef864d50fb847cf15d5717c0db04fd60fb13d8d.zip
cpython-8ef864d50fb847cf15d5717c0db04fd60fb13d8d.tar.gz
cpython-8ef864d50fb847cf15d5717c0db04fd60fb13d8d.tar.bz2
bpo-36264: Updates documentation for change to expanduser on Windows (GH-12294)
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.8.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index ad86917..4adeded 100644
--- a/Doc/whatsnew/3.8.rst
+++ b/Doc/whatsnew/3.8.rst
@@ -236,6 +236,10 @@ now return ``False`` instead of raising :exc:`ValueError` or its subclasses
characters or bytes unrepresentable at the OS level.
(Contributed by Serhiy Storchaka in :issue:`33721`.)
+:func:`~os.path.expanduser` on Windows now prefers the :envvar:`USERPROFILE`
+environment variable and does not use :envvar:`HOME`, which is not normally set
+for regular user accounts.
+
ncurses
-------
@@ -672,6 +676,10 @@ Changes in the Python API
:exc:`dbm.gnu.error` or :exc:`dbm.ndbm.error`) instead of :exc:`KeyError`.
(Contributed by Xiang Zhang in :issue:`33106`.)
+* :func:`~os.path.expanduser` on Windows now prefers the :envvar:`USERPROFILE`
+ environment variable and does not use :envvar:`HOME`, which is not normally
+ set for regular user accounts.
+
CPython bytecode changes
------------------------