summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.7.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst
index 1f52488..81df398 100644
--- a/Doc/whatsnew/3.7.rst
+++ b/Doc/whatsnew/3.7.rst
@@ -1145,9 +1145,10 @@ Changes in Python behavior
(Contributed by Serhiy Storchaka in :issue:`32012` and :issue:`32023`.)
* When using the ``-m`` switch, the starting directory is now added to sys.path,
- rather than the current working directory. Any programs that are found to be
- relying on the previous behaviour will need to be updated to manipulate
- :data:`sys.path` appropriately.
+ rather than the current working directory. Any programs that are checking for
+ the empty string in :data:`sys.path`, or otherwise relying on the previous
+ behaviour, will need to be updated accordingly (e.g. by checking for
+ ``os.getcwd()`` in addition to checking for the empty string).
Changes in the Python API